Formula to convert a Cell Value to a File link/lookup

Bostiao

New Member
Joined
Feb 8, 2007
Messages
22
Hi guys, appreciate any help please.
The File Name inserted at B1
I would like a formula in B2 to look into the File "11111111 GEB25 Trial 1" and return the value in Cell AJ17
If I would enter the formula/link manually it would be ='[11111111 GEB25 Trial 1.xlsm]Work Book'!AJ17
However, I would like the formula in B2 to return the above formula whatever the file name value in B1 is.
Thank you
Bostiao
Excel.JPG
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Like this?
Excel Formula:
=INDIRECT("'["&$B$1&".xlsm]Work Book'!AJ17")
 
Upvote 0
Great, thanks Flash.

Is there a way around to get this to work if the source file is closed?
 
Upvote 0
Noo.. I don't think so.. Offset and Indirect are volatile functions which can not store values when you close the workbook. They need to recalculate each time, so it always needs the source to be open.

Maube you should wait for other solutions.
 
Upvote 0
Is there a way around to get this to work if the source file is closed?
Fraid not, the only way is Indirect & as already said it doesn't work on a closed workbook.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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