Using a Cell Reference rather than a Named Range in a VLOOKUP

Madraykin

Board Regular
Joined
Jan 4, 2012
Messages
56
Hi Lovely People!

I'm sure I have got this to work before but for the life of me I can't do it now!

So I have about 8 different named ranges, identical tables but with different data in them representing different scenarios. I use a dropdown selection box to automatically update visualisations based on which scenario I'm viewing.

The main graph is based on a table amalgamating lots of data together and I now need to move data from one of the named ranges into the graph data table, but it needs to be the named range that matches a value in cell T1, which updates automatically when you select from the dropdown (are you still with me??? :p)

In short, instead of a vlookup that points directly at a named range (ie =vlookup(A1,NamedRange,2,FALSE), is it possible for me to say =vlookup(A1,T1,2,FALSE) where T1 holds the name of the required range???

Thanks so much in advance!!!

Mads
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Ooooh thanks Eric (sorry for late reply I was away this weekend) - will try that out. Have never had cause to use INDIRECT before so looking forward to it!
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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