Lookup that references closed workbooks and individual worksheets

Darren_workforce

Board Regular
Joined
Oct 13, 2022
Messages
146
Office Version
  1. 365
Platform
  1. Windows
1678985787261.png

The source data would appear in the format above. I have 3 different files that would be setup identically named as: Joe Smith 2023.xlsx, Sally Johnson 2023.xlsx, Jack Kirby.xlsx. Each workbook has 12 worksheets (1 for each month spelled out in their entirety. Within each worksheet there are headers for each date "dd-mmm" (Ex: B1 in image). If we can avoid VBA, all the better as I am making this for someone else to use but because of the closed workbooks, I feel that VBA would be required.

My question is what's the easiest formula that would cross reference 3 pieces of information in a brand new workbook: a. The month in A2, b. The date in A4, c. The filenames (B2:B4). Once those are located, the source data from cell B3 (above image) would populate in cells c2:c4.

1678985676450.png


Thank you for all help in advance!!
 

Attachments

  • 1678984945260.png
    1678984945260.png
    2.8 KB · Views: 6
  • 1678985356223.png
    1678985356223.png
    3.8 KB · Views: 8
  • 1678985407976.png
    1678985407976.png
    4 KB · Views: 8

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
='Y:\Client Service Team\Agents\Individual Stats\[Joe Smith 2023.xlsx]February'!b3 is as far as I got regarding locating the file. It does appear to work even if the source file is closed. However, should INDIRECT OR MATCH/INDEX formulas be added to allow the user to dynamically locate the data? The data should be in row 3 but due to certain situations, could require additional data in Row 4 to be added to the data in Row 3. I'm not sure where to go from here.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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