How to hold link in indirect formula? Help!

Big Bruiser

New Member
Joined
Dec 15, 2010
Messages
28
Guys, please help with the following formula. I have a file name inside of an indirect formula which means I have to have quotes around it. The problem is that when I rename the linked file, using edit links does not work because the filename is text. Is there a way to use the indirect formula and have the link update to the new file when I use edit link? thanks!

Here is the formula. In the formula below, it is the first link (Detailed Expense Allocation - Standard 2011-08-19.xlsm) that I want to be able to change using edit link.
Code:
=IFERROR(SUMIFS(INDIRECT("'[Detailed Expense Allocation - Standard 2011-08-19.xlsm]"&"FTE Data'!FTEDataTable["&$F10&"]"),'[Detailed Expense Allocation - Standard 2011-08-19.xlsm]FTE Data'!$V$16:$V$4039,$E$8&$C10),0)
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
referencing a table column with dynamic columns. In the formula, my table is "FTADataTable" and you can see that I have a cell reference in the [] to dynamically refer to a table column.
 
Upvote 0
I changed my formula to an offset formula to dynamically refer to a column and it works now!

=SUMIFS(OFFSET('Detailed Expense Allocation - Standard 2011-08-19.xlsm'!FTEDataTable[Employees],,MATCH($F10,'Detailed Expense Allocation - Standard 2011-08-19.xlsm'!FTEDataTable[[#Headers],[Employees]:[Total FTEs]],0)-1),'Detailed Expense Allocation - Standard 2011-08-19.xlsm'!FTEDataTable[Base Case - Base Year Match (Org Lvl A,B,C & RI)],$E$8&$C10)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

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