Cell value as table array in VLOOKUP

hrushi

New Member
Joined
May 2, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have a cell suppose B1 = "APPL"
I have a Table named "APPL_PRICE" which has Date column & Price Column.
I want to VLOOKUP a specific Date( in A1) from the table using the reference of B1
Such as =VLOOKUP($A$1,APPL_PRICE[Date],2,FALSE)
But instead i need to use reference of B1
=VLOOKUP($A$1,(B1&"_PRICE")[Date],2,FALSE) as i have 50 other tables to do the same work. Instead of selecting the table array present indifferent worksheets,I have named them and want to use them
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi & welcome to MrExcel.
How about
Excel Formula:
=VLOOKUP($A$1,INDIRECT(B1&"_PRICE"),2,FALSE)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=VLOOKUP($A$1,INDIRECT(B1&"_PRICE"),2,FALSE)
And suppose i had to vlookup from the 3rd row in such table. My vlookup value is not in the 1st column then? Like using APPL_PRICE[Volume] being vlookup in the column of Volume in the table
Using Indirect for this particular instance doesn't work
 
Upvote 0
And suppose i had to vlookup from the 3rd row in such table.
It doesn't matter what row it's on, vlookup looks down the whole column.

You posted a very general question with a formula that would not work, so I gave you a general solution.
Without accurate information I cannot do any more.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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