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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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