Skip to content

R1C1 Ranges don't parse properly #188

Description

@CameronPatterson106

The formula
=R[1]C[1]:R[2]C[2]

Does not parse properly. According to the viewer, the inner ':' is processed first resulting in this parse tree:

parsetree

We can force it to parse correctly by adding parenthesis around each reference
=(R[1]C[1]):(R[2]C[2])

parsetree (1)

However excel does not require the parenthesis to know how to interpret this correctly

Also, the R[1]C[1] Style formulas are considered as the intersection of two ranges, rather than a reference that resolve's to a single cell. If you change back to A1 formulas this is resolved properly as a single cell. These issues are likely related to how R1C1 formulas are handled in the grammar

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions