This may be about the most complicated formula that I have come up with as an amateur, but I am afraid it needs to be a little bit more complicated abd I can't figure out these last two steps:
=INDEX(OFFSET(A1A5E8,0,4,44,1),MATCH(F7,OFFSET(A1A5E8,0,2,44,1),-1))
A1A5E8 (which is a Canadian Postal Code) is a named range, in this case referencing cells A2:E45. The formula above works fine and gives the expected results.
The contents of G7 is 'A1A5E8. I want to change the above formula so that named range is picked up from the value in G7 instead of being hard-coded in the formula.
Lastly, the number 44 in the formula is hard-coded to be the number of rows in the named range. I would like to change that to a calculated value of the number of rows in the range.
Would appreciate some ideas...
Thanks
(Excel Version is XL2003)
=INDEX(OFFSET(A1A5E8,0,4,44,1),MATCH(F7,OFFSET(A1A5E8,0,2,44,1),-1))
A1A5E8 (which is a Canadian Postal Code) is a named range, in this case referencing cells A2:E45. The formula above works fine and gives the expected results.
The contents of G7 is 'A1A5E8. I want to change the above formula so that named range is picked up from the value in G7 instead of being hard-coded in the formula.
Lastly, the number 44 in the formula is hard-coded to be the number of rows in the named range. I would like to change that to a calculated value of the number of rows in the range.
Would appreciate some ideas...
Thanks
(Excel Version is XL2003)