Create an external link using another cell to form part of the file location

GraYmOnD0808

New Member
Joined
Jan 15, 2021
Messages
2
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
Hi Everyone,

This is one i have tried for ages at but have never managed to crack. It would be so useful to me if i could finally get it.

Essentially, for example based on the below image, i want to use column I to form part of the file name of the link i want to reference. So my formula for instance would read
='K:\Prod\Pick lists\ALDI\Aldi Salad (PTZ)\["I4".xlsm]ALDI Order'!$P$8

1610720883342.png


Is there a way to incorporate a cell into the link location? This way i can just drag my formulas down each day and have the cells populate without using a find and replace like i do now.


Thanks

Jimmy
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi & welcome to MrExcel.
How about
Excel Formula:
=INDIRECT("'K:\Prod\Pick lists\ALDI\Aldi Salad (PTZ)\["&I4&".xlsm]ALDI Order'!$P$8")
Although this will not work on closed workbooks.
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=INDIRECT("'K:\Prod\Pick lists\ALDI\Aldi Salad (PTZ)\["&I4&".xlsm]ALDI Order'!$P$8")
Although this will not work on closed workbooks.
Ahh nice :D actually, i can make this work :D thanks!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,532
Messages
6,125,363
Members
449,221
Latest member
chriscavsib

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