+ Reply to Thread
Results 1 to 3 of 3

Absolute Cell Reference in a Hyperlink within the the same workbook

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Absolute Cell Reference in a Hyperlink within the the same workbook

    All:

    I have a workbook with many tabs and within those tabs there are many hyperlinks to other areas within the same workbook. When I add or delete lines or rows, the corresponding hyperlinks do not stay with the changed cell. Is there any way to make the cell reference in a hyperlink an absolute similar to how you do with a formula?

    Any help is greatly appreciated.

    Thank you!

  2. #2
    Registered User
    Join Date
    04-29-2012
    Location
    Florida, USA
    MS-Off Ver
    2010, 2013
    Posts
    34

    Re: Absolute Cell Reference in a Hyperlink within the the same workbook

    Hi SMOE2013,

    I think I know what you're asking about, but I'll give an example to see:

    Say you have Sheet1 and Sheet2. On Sheet2, you define a name for cell A2 called Sheet2_A2, where the Refers to: =Sheet2!$A$2. On Sheet1, you create a hyperlink to the reference Sheet2_A2, which takes you to the expected cell.

    However, if you delete row 1 of Sheet2, your hyperlink on Sheet1 will now take you to Sheet2!A1, not A2. If that is what you are trying to resolve and you want your hyperlink to still point to Sheet2!$A$2, use the Indirect function in your named reference, in this case:

    =INDIRECT("Sheet2!$A$2")

    This will always point to Sheet2!A2, no matter how many rows you add or delete.

    If that is not the problem, can you post an example workbook so we can see your setup?

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Absolute Cell Reference in a Hyperlink within the the same workbook

    which hyperlink are you using?
    if you use the hyperlink function hyperlink()
    =HYPERLINK("#sheet2!a2","test") will always go to sheet2 a2 no matter what you delete
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1