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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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!
 
Upvote 0

Forum statistics

Threads
1,213,533
Messages
6,114,179
Members
448,554
Latest member
Gleisner2

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