Using a formula in VLOOKUP table to look up a different tab or book

ReggaeYT

New Member
Joined
Jul 24, 2014
Messages
16
Hello all,

So I will do my best to explain this convoluted scenario: I'd like to make a standard VLOOKUP formula that can look at different tabs or books. So let's say there are 3 people: Brian, Daniel, and Kyle. Each one has a spreadsheet of their own called <name>_book (Brian_tab, Daniel_tab, Kyle_tab). The A column of my spreadsheet would have their names written in them, image attached.

Is there anyway to make the VLOOKUP formula include the names listed in the A cell, when looking up the tab?

=VLOOKUP(A2, A2&"_tab"!A:B, 2, 0)

which I hope would return:

=VLOOKUP(Brian, Brian_tab!A:B, 2, 0)

But when I try this, Excel returns #N/A each time. Is there a way to do this or am I just pissing in the wind?

Thanks!
 

Attachments

  • mrexcel.PNG
    mrexcel.PNG
    7.1 KB · Views: 6

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try

Excel Formula:
=VLOOKUP(A2,INDIRECT(A2&"!A:B",TRUE),2,0)
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,576
Members
448,972
Latest member
Shantanu2024

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