Challenging Question: Vlookup from different Excel files

canadian86

Board Regular
Joined
Feb 6, 2011
Messages
53
Hi all,

I have a challenging task to complete. I have to figure out a formula to look up data from:

A file which has a certain store # in its name (i.e. Store # 1234.xls) located in a certain folder (called "Master Store List").


It then has to look into a specific worksheet (i.e. Ontario) in that Excel file and return results within a certain range within that worksheet. This part, I can do -- it's part of a regular vlookup function.

I'm wondering if there's a way to achieve the first part (in italics) using a formula (or any other short cut ideas you have) and combine it with the second part?

Right now, I have to manually extract worksheets called Ontario from 50 different excel files and apply the vlookup function to pull data from those worksheets. (FYI, I have to rename these worksheets from 'Ontario' to their store number in order to do a vlookup by worksheet name)

Any ideas?

Thanks a lot in advance!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,559
Messages
6,179,517
Members
452,921
Latest member
BBQKING

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