Stop SharePoint Online hosted linked Excel file displaying absolute path in formulas

%3CLINGO-SUB%20id%3D%22lingo-sub-2114589%22%20slang%3D%22en-US%22%3EStop%20SharePoint%20Online%20hosted%20linked%20Excel%20file%20displaying%20absolute%20path%20in%20formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2114589%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20series%20of%20linked%20Excel%20workbooks%20hosted%20in%20SharePoint%20Online%20-%20Test%201%20and%20Test%202%20for%20the%20purposes%20of%20the%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20have%20both%20the%20files%20open%2C%20the%20formula's%20in%20Test%201%20(target)%20are%20displayed%20using%20the%20relative%20path%20as%20follows%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3D'%5BTest%202.xlsx%5DSheet1'!%24A%242%2B'%5BTest%202.xlsx%5DSheet1'!%24A%246%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20if%20I%20close%20Test%202%20(source)%20the%20formulas%20in%20Test%201%20display%20the%20absolute%20path%20as%20follows%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3D'https%3A%2F%2F%20company.sharepoint.com%2Fsites%2Fcustomer%2FShared%20Documents%2FGeneral%2F%5BTest%202.xlsx%5DSheet1'!%24A%242%2B'https%3A%2F%2F%20company.sharepoint.com%2Fsites%2Fcustomer%2FShared%20Documents%2FGeneral%2F%5BTest%202.xlsx%5DSheet1'!%24A%246%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20rapidly%20becomes%20unworkable%20when%20i%20have%20formula's%20pulling%20data%20from%20a%20number%20of%20different%20workbooks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20how%20i%20can%20get%20the%20target%20spreadsheet%20to%20always%20display%20(or%20toggle%20on%2Foff)%20the%20relative%20path%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESteve%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2114589%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20for%20web%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2115196%22%20slang%3D%22en-US%22%3ERe%3A%20Stop%20SharePoint%20Online%20hosted%20linked%20Excel%20file%20displaying%20absolute%20path%20in%20formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2115196%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3E%26nbsp%3Bthanks%20for%20the%20reply.%20Not%20really%20I'm%20afraid%20-%20these%20are%20a%20series%20of%20linked%20financial%20data%20sets%20so%20having%20to%20open%20them%20all%20to%20update%20would%20risk%20the%20data%20potentially%20being%20wrong%20(not%20updated%20but%20taken%20on%20face%20value).%20Additionally%20if%20all%20the%20sheets%20were%20open%2C%20the%20issue%20is%20negated%20anyway%20as%20it%20shows%20relative%20links%20(or%20just%20workbook%20name)%20if%20the%20source%20sheet%20is%20open.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2114746%22%20slang%3D%22en-US%22%3ERe%3A%20Stop%20SharePoint%20Online%20hosted%20linked%20Excel%20file%20displaying%20absolute%20path%20in%20formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2114746%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F955713%22%20target%3D%22_blank%22%3E%40SvenM1005%3C%2FA%3E%26nbsp%3Bis%20it%20ok%2Facceptable%20that%20the%20cell%20only%20updates%20when%20the%20other%20sheet%20is%20open%3F%26nbsp%3B%20If%20so%20you%20can%20use%20INDIRECT()%20function.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi All

 

I have a series of linked Excel workbooks hosted in SharePoint Online - Test 1 and Test 2 for the purposes of the below.

 

If I have both the files open, the formula's in Test 1 (target) are displayed using the relative path as follows:

 

='[Test 2.xlsx]Sheet1'!$A$2+'[Test 2.xlsx]Sheet1'!$A$6

 

However, if I close Test 2 (source) the formulas in Test 1 display the absolute path as follows:

 

='https:// company.sharepoint.com/sites/customer/Shared Documents/General/[Test 2.xlsx]Sheet1'!$A$2+'https:// company.sharepoint.com/sites/customer/Shared Documents/General/[Test 2.xlsx]Sheet1'!$A$6 

 

 

This rapidly becomes unworkable when i have formula's pulling data from a number of different workbooks.

 

Does anyone know how i can get the target spreadsheet to always display (or toggle on/off) the relative path?

 

Thanks

 

Steve

2 Replies

@SvenM1005 is it ok/acceptable that the cell only updates when the other sheet is open?  If so you can use INDIRECT() function.

@mtarler thanks for the reply. Not really I'm afraid - these are a series of linked financial data sets so having to open them all to update would risk the data potentially being wrong (not updated but taken on face value). Additionally if all the sheets were open, the issue is negated anyway as it shows relative links (or just workbook name) if the source sheet is open.