My attempt to use a value in a particular cell to configure the index argument has not been panning out well to this point.
I have attempted to create a configuration sheet to define the index ranges used throughout my working data sheet with a formula like this:
INDEX(Config!R1C2,MATCH(RC1,Config!R1C3,0),Config!R1C4)
In the Config!R1C2
cell as an example I'd put something like RawData!R1C1:R100000C100
for the index range, then in Config!R1C3
I'd define the match lookup range with something like RawData!R1C5:R100000C5
.
This is an attempt at allowing me to populate a report using Index Match, while avoiding having to reconfiguring every formula each time my raw data's format changes (which changes often and I have zero control over). With this configuration sheet I'd hopefully be able to just redefine the index range, and match range in one cell.
OFFSET-COUNT
approach and theINDEX-COUNT
approach. Both can be used to create dynamic ranges that adjust in row and/or column count based on the size of data. With that range defined, you can doINDEX-MATCH
or whatever else with the dynamic range.OFFSET
: excel-easy.com/examples/dynamic-named-range.html .INDEX
: blog.contextures.com/archives/2011/02/25/… – Byron WallConfig!
cells, you will likely need to useINDIRECT
to convert the string to a proper reference. support.office.com/en-sg/article/… – Byron Wall