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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Domenic

MrExcel MVP
Joined
Mar 10, 2004
Messages
19,651
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!
 

Watch MrExcel Video

Forum statistics

Threads
1,133,656
Messages
5,660,148
Members
418,554
Latest member
Avalanchez

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