HELP: VLOOKUP ALL Excel Sheets Within A Folder

dinoman88

New Member
Joined
Apr 20, 2011
Messages
2
hello,

let me first say that I'm aware there are numerous threads explaining multiple Vlookups but this is somthing slightly different.

I have a report I produce every morning and unfortunately a vital bit of data does not pull through. so I use a different sheet to vlookup them. Sometimes they wouldn't all be on one sheet so I'm having to vlookup each sheet one at a time.

Until I found this

=IF(ISERROR(VLOOKUP($K1,'[Rcvd 17 Apr 11 PS.xlsx]Detail'!$K$2:$O$27000,5,FALSE)),#N/A,VLOOKUP($K1,'[Rcvd 18 Apr 11 PS.xlsx]Detail'!$K$2:$O$27000,5,FALSE))

this is useful as it lets me search two at a time but sometimes I'm having to search through 10-20 before they match.

is there anyway in excel so that it would let me type the filename of a folder and then have it search through every excel file within that folder until a match is found.


(all excel files are the exact same format and named in the same format also).



Anyway, thankyou to anyone who spends some time on this. it will be greatly appreciated.
 
Last edited:

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,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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