I am using the Match function to locate the position of some headers in a worksheet:
The row number (in red above) is also stored as a value in a cell in another worksheet. Rather than hard-coding "$4:$4" into the formula, is it possible to merely reference the cell containing the value?
The address of the cell containing the value is "Factors!$B$6". The value of this cell is simply "4".
I.e. I'm after something like this (but that actually works!):
Thank you in advance for your help!
Code:
=MATCH(A$9,'Pivot HY'!$[COLOR=#ff0000]4[/COLOR]:$[COLOR=#ff0000]4[/COLOR],0)
The row number (in red above) is also stored as a value in a cell in another worksheet. Rather than hard-coding "$4:$4" into the formula, is it possible to merely reference the cell containing the value?
The address of the cell containing the value is "Factors!$B$6". The value of this cell is simply "4".
I.e. I'm after something like this (but that actually works!):
Code:
=MATCH(A$9,'Pivot HY'!$[COLOR=#ff0000]Factors!$B$6[/COLOR]:$[COLOR=#ff0000]Factors!$B$6[/COLOR],0)
Thank you in advance for your help!