vlookup entire workbook

BobbyBrownPants

New Member
Joined
Oct 24, 2014
Messages
5
Hi everyone and thanks in advance

I have a workbook with 382 sheets. 381 of the sheets are all the same format

I need to VLOOKUP from A2 in the 1st sheet to find that value in cells K7:L56 of all the other 381 sheets returning column L

I've used
REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"")
to create a list of the sheet names and created a List Name of these called MySheets

I've tried using this formula
VLOOKUP(A2,INDIRECT("'"&INDEX(MySheets,MATCH(1,--(COUNTIF(INDIRECT("'"&MySheets&"'!$K$7:$L$56"),A2)>0),0))&"'!$K$7:$L$56"),2,FALSE)
and completed it using Ctrl + Shift +Enter but it hasn't worked

Can anyone help please?

Thanks again
Bobby
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,214,599
Messages
6,120,448
Members
448,966
Latest member
DannyC96

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