Using a cell reference to a named range in the index formula - how?

jsgeare

Board Regular
Joined
Dec 3, 2005
Messages
131
Here is the index/match formula:

=INDEX(Zone5,MATCH(C2,NextPound,0),1)

Zone5 is a range of values. As long as it is explicitly written out as Zone5, the formula works. But if a reference to a cell containing Zone5 is used, the formula returns a #REF error. Doesn't matter if the value in the cell is entered as text or calculated. Thus, if the formula becomes:

=INDEX(B2,MATCH(C2,NextPound,0),1) where B2 either has Zone5 as text, or as a calculated value, then the formula fails.

Is this just the way it is? Or is there some trick to getting index to recognize the range?

Using XL 2013- latest version.

Thanks in advance.
 
If B2 contains the text B5, then you might need

=INDEX(INDIRECT(B2),MATCH(C2,NextPound,0),1)
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top