Using INDIRECT function to refer to named range

fleathedog

New Member
Joined
Jul 4, 2013
Messages
10
Hello all

I have a series of named ranges - "July_all" "August_all" etc and have another series of tables that I want to populate using INDEX MATCH formulas (note that the named ranges refer to arrays in a different workbook). As "July" is in cell D5, my thought was that the part of the formula to refer to refer to the array should be:
INDIRECT("D5"&"_all")

But this doesn't work.

When I put just that part of the formula in a separate cell I get a #REF! error. If I use =INDIRECT("D5")&"_all" just by itself in a seperate cell, it returns what I want, but if I use it in the the array part of the lookup formula, I get a #VALUE error.

How can I get the system to combine these 2 strings to use the named range?

Thanks!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,215,454
Messages
6,124,932
Members
449,195
Latest member
Stevenciu

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