+ Reply to Thread
Results 1 to 9 of 9

Hyperlink to cell with shifting location

Hybrid View

  1. #1
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Hyperlink to cell with shifting location

    I am trying to Hyperlink to a continually moving cell within the same worksheet. However, the value of said cell (Text) does not change.

    Also, the Workbook name is constantly changing. In addition, the columns must be able to be sorted.

    Therefore, something like the following will not work because Test.xls will change and Defined Name only references the cell location which does not hold up to sorting:

    =HYPERLINK("[Test.xls]Sheet1!Defined Name",Friendly Name)

    FYI, I am a very basic excel user and I've learned most of what I know trying to figure out this solution! Please Help!
    Last edited by DonkeyOte; 01-12-2011 at 12:11 PM. Reason: correctly marking Solved

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: Hyperlink to cell with shifting location

    What does the workbook name and column sorting have to do with this?
    Maybe supply a simple sample workbook for somebody to work with.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Hyperlink to cell with shifting location

    We could help create a hyperlink that would find a specific value across all the worksheets in your existing workbook and jump to it whereever it may be, and without a macro.

    But if you add the need to do this "jump" from another workbook, I can't imagine how that would work without VBA.

    '3D VLOOKUP & HYPERLINK
    Here's a page showing a formula method doing a VLOOKUP across multiple worksheets. The formula will return the answer from the first sheet that has the searched value. There's a sample file as well.
    3D VLOOKUP()

    3D HYPERLINK()
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Hyperlink to cell with shifting location

    Please see the attached example:

    I want the user to be able to click on the red box that says "Click here for BCBS OF IOWA" (CELL G142), and the result is that the "BCBS OF IOWA" cell is highlighted (CELL C141).

    However, neither the hyperlink cell (G142) nor the BCBS OF IOWA cell (G141) will remain static if the user chooses to sort the columns using Data -> Sort.
    Attached Files Attached Files

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Hyperlink to cell with shifting location

    In post #3 I gave you a link to two sheets. The one with Hyperlinks have many formulas for hyperlinking.

    You wanted to hyperlink on the same page, and the first formula given on that page does that exact thing. Did you see it?
    "3D HYPERLINK"

    1. # Hyperlink on same sheet:

    =HYPERLINK("#" & ADDRESS(MATCH(A1, B1:B5, 0), 2), "Link")

    Edited for your sheet:
    =HYPERLINK("#" & ADDRESS(MATCH("BCBS of IOWA",C:C, 0), 3), "Click here for BCBS of IOWA")

    Be sure to go through that formula, both versions, so you get what it does.

  6. #6
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Hyperlink to cell with shifting location

    Quote Originally Posted by JBeaucaire View Post
    Edited for your sheet:
    =HYPERLINK("#" & ADDRESS(MATCH("BCBS of IOWA",C:C, 0), 3), "Click here for BCBS of IOWA")
    Thank you, Jerry!! The formula appears to do exactly what I needed!

    I did try to work through your initial post, but I must admit it was a bit cumbersome for me because I am a novice excel user.

    I will focus on breaking down the hyperlink formula before I tackle the more advanced spreadsheet example you posted.

    Thanks again!!

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Hyperlink to cell with shifting location

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  8. #8
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Hyperlink to cell with shifting location

    Now that I have my hyperlinks working, how can I create a drop-down list with multiple hyperlinks?

    Should I start a new topic?

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Hyperlink to cell with shifting location

    Quote Originally Posted by himey77 View Post
    Now that I have my hyperlinks working, how can I create a drop-down list with multiple hyperlinks?

    Should I start a new topic?
    Yes, this sounds like a completely different issue.

    Start a new thread with supporting documents to make it easy for people to see/understand what you're trying to accomplish.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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