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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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