+ Reply to Thread
Results 1 to 7 of 7

Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functional.

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010, Excel 365
    Posts
    47

    Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functional.

    See attached spreadsheet - it explains further what I'm looking for.

    Basically, I have a table that automatically fills in data (that is found in another sheet) based on what a user picks. One column in the data is a hyperlink to a website. Once the VLOOKUP function finds the hyperlink, how do I get that hyperlink to be functional?Tractor Horsepower.xlsm

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functiona

    Use this formula:
    =IFERROR(HYPERLINK(VLOOKUP($D$4,Data!$A:E,5,0)),"")
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    01-06-2012
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010, Excel 365
    Posts
    47

    Re: Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functiona

    That works perfectly!!! Thank-you so much!!!!!

  4. #4
    Registered User
    Join Date
    09-02-2022
    Location
    London - could be anywhere in the world
    MS-Off Ver
    2010
    Posts
    6

    Re: Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functiona

    replying here with my actual issue.

    Your formula works but only if the URL is the actual URL. If you edited the hyperlink to "text to display" to make it simplified, then the formula wont work anymore.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functiona

    Quote Originally Posted by johndoePH View Post
    replying here with my actual issue.

    Your formula works but only if the URL is the actual URL. If you edited the hyperlink to "text to display" to make it simplified, then the formula wont work anymore.
    So are you making an observation - or asking your own question?

    if you are making an observation, thanks for that

    If asking a question, please start your own thread (and reference this 1 if necessary)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    09-02-2022
    Location
    London - could be anywhere in the world
    MS-Off Ver
    2010
    Posts
    6

    Re: Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functiona

    Hi FDibbins - I actually do have my own thread with the same issue. I used tlafferty's formula but only work if the URL is the actual URL. If you edited the hyperlink to "text to display" to make it simplified, then the formula wont work anymore.

    Any help is much appreciated. My own thread below. I'm pretty new so when I tried to paste the link in this comment it wont let me and I dont know how to link if there is a way.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Find a value (which is a hyperlink) with VLOOKUP and making the hyperlink be functiona

    It wont let you post a link until you have 10 posts. But if you get creative, you should be able to work something out

+ 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