Forum Discussion

DarrMik's avatar
DarrMik
Copper Contributor
Oct 13, 2021

Build https link within formula using Cell value

Using Excel Online.

 

I am pulling information into sheets in my current workbook from a separate excel file via web link:

 

A2=IFERROR('https://myDomain.sharepoint.com/sites/Sheets/Shared Documents/Driver/[2021-10-10-4126 - Sheets.xlsx]Trip Expenses Sheet'!$A81, "")

 

The above link pulls the information I am looking for perfectly.  I am trying do a bit of future proofing.  I would like to get part of my link from an adjacent cell that contains the date portion of my link:

 

A2=IFERROR('https://myDomain.sharepoint.com/sites/Sheets/Shared Documents/Driver/[A4-4126 - Sheets.xlsx]Trip Expenses Sheet'!$A81, "")

 

Tried to simply concatenate onto the link, but Excel says that there is an error in my formula:

 

A2=IFERROR("https://myDomain.sharepoint.com/sites/Sheets/Shared Documents/Driver/["&A4&"-4126 - Sheets.xlsx]Trip Expenses Sheet"!$A81, "")

 

Any thought/help welcome

5 Replies

Resources