Forum Discussion

Andrew Lindsay's avatar
Andrew Lindsay
Copper Contributor
Feb 20, 2019
Solved

Issue with hyperlink formula when a space character is in the destination worksheet name

I'm using the following formula to create a hyperlink to another worksheet in the same workbook.  The formula parses out the destination worksheet from another cell (A12 in the example below) using t...
  • Twifoo's avatar
    Twifoo
    Feb 21, 2019
    Hi Andrew,
    Assuming your destination cell is A1, your hyperlink formula is:
    =HYPERLINK("#'"&RIGHT(A12,
    LEN(A12)-FIND("|",SUBSTITUTE(A12,"^","|",
    LEN(A12)-LEN(SUBSTITUTE(A12,"^","")))))&"'!A1","Link")
    To be safe, always enclose the Sheet Name in single quotes (') whether or not such Name includes a space.
    Cheers!
    Twifoo

Resources