+ Reply to Thread
Results 1 to 8 of 8

hyperlink that links to contents not to specific cell

  1. #1
    Registered User
    Join Date
    11-25-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    4

    hyperlink that links to contents not to specific cell

    Hello!

    I want to create a hyperlink in excel that links to the contents of the cell, not to a cell itself.

    For example, I have a hyperlink called "figure" that sends me to a cell that contains a figure, let's say B6. But then I sort my data in a different way and the figure ends up in cell C5. Then I would like "figure" to send me to C5. Is this possible?

    I hope someone can help me, it's giving me headaches!

    /Maria

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: hyperlink that links to contents not to specific cell

    Can you explain what you mean by
    I have a hyperlink called "figure" that sends me to a cell that contains a figure
    This seems to indicate that its not the word "figure" in the content?

    Can you upload a sample workbook containing data and an example or two?
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    11-25-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    4

    Re: hyperlink that links to contents not to specific cell

    Sure thing!

    In the attached file there's 2 sheets, I want a hyperlink in cell A2 from the "Fruits" sheet that sends me to B2 in "Figures".
    However if I sort the data in "Figures" differently and the picture of the banana ends up in D4 instead of B2, the hyperlink of A2-Fruits
    will still send me to B2-Figures even when the picture of the banana is no longer there...

    So I want the hyperlink "Banana" to always send me to the picture of the banana regardless where it ends up when I sort the data
    in different ways.

    Hope you can help me pjwhitfield!
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    10-30-2014
    Location
    England
    MS-Off Ver
    2007 / 365
    Posts
    279

    Re: hyperlink that links to contents not to specific cell

    In A2 enter =HYPERLINK("#Figures!A"&MATCH(B2,Figures!A1:A5,0),B2)

  5. #5
    Registered User
    Join Date
    11-25-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    4

    Re: hyperlink that links to contents not to specific cell

    Hi EchoPassenger,

    Thanks! But something seems to be wrong, I copied-pasted the way you wrote it and excel says there's an error in the formula, when I press OK it highlights "B2,Figures".

    Could you please double check this for me?

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: hyperlink that links to contents not to specific cell

    Did you replace all the , with ; - since you use ; as an argument separator in Sweden?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  7. #7
    Registered User
    Join Date
    11-25-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    4

    Re: hyperlink that links to contents not to specific cell

    I did that and translated "hyperlink" and "match" to Swedish as well.

    It works perfectly :D Thanks!

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: hyperlink that links to contents not to specific cell

    Oh yes. The arrogance of the native English speaker. I forgot that you speak Swedish in Sweden!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Image Links for the cell contents
    By naveenkumar42 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-16-2016, 06:44 PM
  2. [SOLVED] Delete contents of a cell in a given range if it matches contents of a specific cell
    By rcicconetti in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-13-2016, 06:46 AM
  3. Hyperlink based on cell contents
    By rcprito in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2015, 11:03 AM
  4. [SOLVED] Clear contents of specific cells on the same row if a specific cell on that row is empty
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2014, 01:48 PM
  5. Using the contents of a cell to hyperlink another
    By scatlett in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-05-2012, 12:49 PM
  6. hyperlink creation based off cell value - links to other tabs
    By m1notaur in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-21-2010, 12:01 PM
  7. [SOLVED] hyperlink using cell contents
    By [email protected] in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2006, 05:50 PM

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