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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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