Excel cell reference that directs to file in same folder (Not set location)

I have a file that currently has a cell that refers to another file in a shared drive location.
='C:\Users\Guy Godwin\Desktop\2015 PPM\[19502.xls]TOTAL'!$G11

Is there a methods that refer this cell to the current path of the file being used.
=Currentpath\ [19502.xls]TOTAL'!$G11
or =Currentdirectory\[19502.xls]TOTAL'!$G11
Who is Participating?
Ejgil HedegaardCommented:
You don't have to do anything specific with formulas to tell Excel to look in the same folder as the file.
Save both files in the same folder.
Open the file with the links, and adjust the links (on the Data tab) to use the file in the same folder.
Then you can copy both files to a new folder and the links will point to the new location.
ggodwinAuthor Commented:
More details.
I have a file names
In the same folder I have 30 other files that look like.

I want to link cells in 2015_PPM.xls to the #####_Quality_2015.xls.

However, I want to use the current path because this folder may move on occasions.

pls try


Open in new window

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Rob HensonFinance AnalystCommented:
When building a File Link in a text string you will then have to use the INDIRECT function:


However, INDIRECT doesn't work when the source file is closed.

Rob H
ggodwinAuthor Commented:
I'm trying to apply your method. But, I'm not sure what variables I need to replace.
Example: Is A1 a cell reference from the source file? or destination file?
Rob HensonFinance AnalystCommented:
Indeed, as Ejgil says, so long as both files move in unison the links will stay valid.

 forgot that.

ggodwinAuthor Commented:
This resolution does it work. It is not exactly what I was looking for but it does work.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.