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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,051
Messages
6,122,872
Members
449,097
Latest member
dbomb1414

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