Single cell table array VLOOKUP

williack

New Member
Joined
Apr 20, 2011
Messages
3
I am just wondering if its possible to use a single cell as the reference for the table array argument in VLOOKUP? This single cell would be on the same worksheet as my VLOOKUP formulas, and would contain the information on the table array (from a different workbook) to use.

Is this possible?

Example: my VLOOKUP formula might look like this VLOOKUP(B9,Sheet1!$A$4:$M$50,4,FALSE) I would like to replace the "Sheet!A$4:M$50" with a single cell reference.

Thanks!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Welcome to the Board...

Why would you want to do such a thing? If you simply want the value in a specific Cell, why not just reference that single Cell instead of using VLOOKUP?

I suspect the thing you're trying to do is more complex than your post suggests though. Could you elaborate further as to what you're trying to do?

Matty
 
Upvote 0
Thank you for your quick response!

Right now my table array has 216 different IDs. For the sake of my data arrangement, these need to be categorized into 18 different groups (1 worksheet for each group). I thought it would be best to create a single excel template, where I could simply change the ID numbers in each worksheet.

I thought it would be easiest to have a single cell in the template that would already contain the table array information. That is A1 would be my table array, and my VLOOKUP would read (A2,A1,4,FALSE) for example.
Then, when I open up my template, all I have to change is A2.

Does that make sense?

Is there anyway at all to put all the information of a table array into one cell?
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

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