VLOOKUP across multiple sheets

csmallman

New Member
Joined
Sep 18, 2006
Messages
3
I am guessing this question has been answered before, if so can someone let me know where?

I am trying to do a VLOOKUP with the same table array accross 5 sheets in the same workbook.

Can anyone help?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Domenic

MrExcel MVP
Joined
Mar 10, 2004
Messages
20,371
Office Version
  1. 365
Platform
  1. Windows
Assuming that on each sheet, Sheet1 through Sheet5, A2:B100 contains the lookup table, download and install the free add-in Morefunc.xll, and use the THREED function, something like...

=VLOOKUP(D2,THREED('Sheet1:Sheet5'!$A$2:$B$100),2,0)

...where D2 contains the lookup value.. Otherwise, using built-in functions only, let G2:G6 contain a list of sheet names and try the following formula which needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER...

=VLOOKUP(D2,INDIRECT("'"&INDEX($G$2:$G$6,MATCH(TRUE,COUNTIF(INDIRECT("'"&$G$2:$G$6&"'!A2:A100"),D2)>0,0))&"'!A2:B100"),2,0)

Hope this helps!
 

Forum statistics

Threads
1,170,932
Messages
5,872,782
Members
432,945
Latest member
eddyevad

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