I have a workbook with multiple sheets. One is a MASTER sheet with all of the information with various columns of various pieces of info. There are other sheets that are countin
The nice method used by pnuts, Siddarth, Siddarth, relies on two resources:
A method for detecting the text color, =GET.CELL(...)
.
A method for referencing the appropriate cells, OFFSET(INDIRECT("RC",FALSE),0,-1)
.
Regarding #2, there is another option:
OFFSET(INDIRECT(ADDRESS(ROW(),COLUMN())),0,-1)
PS: It gives exactly the same result, and I personally find this use of INDIRECT
easier to understand (the other use comes from the legacy XL4, and it is not documented in current versions). I even use similar formulas, sometimes combined with ADDRESS
, directly in worksheet cells.
PS2: This interesting link suggests appending +NOW()*0
to the =GET.CELL(...)
formula to ensure automatic recalculation. I found in Excel 2007 it is not needed, for any of the two options for #2 (did I miss something?). It shows also other nice tricks for referring to ranges.