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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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,214,925
Messages
6,122,298
Members
449,077
Latest member
Rkmenon

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