Referencing External Workbook Data

stilton1

New Member
Joined
Feb 4, 2019
Messages
6
I have a folder containing a 1200 workbooks filled with data and use a single workbook in another directory to reference specific sheets and cells. I know I need to have a placeholder for every file referenced but is their an easy way to setup one reference and then drag the cell down rather than changing every single reference for all 1200?


Here's how I have it setup currently:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Store[/TD]
[TD]Name[/TD]
[TD]Sales[/TD]
[TD]Code[/TD]
[TD]Tote[/TD]
[/TR]
[TR]
[TD]1212[/TD]
[TD]Scott[/TD]
[TD]$550[/TD]
[TD]ABCD[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]55[/TD]
[TD]Stacy[/TD]
[TD]$390[/TD]
[TD]GDDC[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]199[/TD]
[TD]Tina[/TD]
[TD]$450[/TD]
[TD]DDDF[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]


In cell B2 I have the code ='O:\Archive\2019\Jan\[1212.XLSM]Prelim'!$H$5
In cell C2 I have the code ='O:\Archive\2019\Jan\[1212.XLSM]Prelim'!$H$9
In cell D2 I have the code ='O:\Archive\2019\Jan\[1212.XLSM]Recap'!$E$5
In cell E2 I have the code ='O:\Archive\2019\Jan\[1212.XLSM]Total'!$K$5


Currently I have to manually change the store referenced as 1212.XLSM in each line. Is it possible to simplify this without doing everything manually?

Thanks for any help!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I ended up just going through all 1200 links and changing manually, but would love to get any thoughts or ideas on this for future reference.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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