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

ReggaeYT

New Member
Joined
Jul 24, 2014
Messages
15
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: 4

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Sufiyan97

Well-known Member
Joined
Apr 12, 2019
Messages
865
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Try

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

Forum statistics

Threads
1,181,228
Messages
5,928,770
Members
436,628
Latest member
Krakenfan69

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
Top