Getting data from a sheet referenced by VLOOKUP

missingsc

New Member
Joined
Mar 14, 2024
Messages
25
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hi All,

I'm looking for help on a formula reference using VLOOKUP. I have a table which maps some project names to Sheet names, as the project names are very lengthy but the Sheet names are small enough for the tabs in Excel. Using that table and VLOOKUP, I'm looking to use the output of the VLOOKUP (which is a Sheet name) to then reference cells on that Sheet.

For example, I'm looking to do this but obviously it doesn't work and I'm looking for the right function combination that would make it work:
=VLOOKUP(A5,Project2SheetMappingTable,2)!B2

Thanks in advance!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Try:

Excel Formula:
=INDIRECT("'" & VLOOKUP(A5,Project2SheetMappingTable,2,0) & "'!B2")
 
Upvote 0
Solution
This worked with a little tweak. I removed the single quotes in the INDIRECT statement and then it worked just fine. Thank you!
 
Upvote 1

Forum statistics

Threads
1,225,730
Messages
6,186,700
Members
453,369
Latest member
positivemind

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