Lookup Cell Across Multiple Workbooks

DanCF

New Member
Joined
Feb 22, 2018
Messages
1
I'm trying to create a formula that will look up the same cell only across multiple workbooks. Someone has created a new workbook each week and entered one point of data I want to collect over time in the same cell of each workbook. Each work book has the same name but ends with a different date. Example: "WorkbookABC 1-1-2018.xlsx", then "WorkbookABC 1-8-2018.xlsx",.... etc. I'm guessing I need to use the indirect function. Any ideas on how to create a formula i can just drag down over time which will lookup into the new workbook as well as look back into old workbooks based on the date I want?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Yeah!

I'm pretty sure that the files all have to be in the same folder, and they can't have any spaces or dashes. Other than that it's easy, this is what I used:

The dates are manually entered in column A, and the formula for cell B3 is =INDIRECT("[WorkbookABC."&A3&".xlsx]Sheet1!$A$3")
Then I was able to click and drag

ugUBdWC.png


Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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