+ Reply to Thread
Results 1 to 5 of 5

How do I add a Hyperlink to a vlookup

  1. #1
    Registered User
    Join Date
    06-07-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    7

    How do I add a Hyperlink to a vlookup

    I'm having a problem getting a hyperlink to work when adding it to a vlookup. The vlookup is looking at a page number and returning the named drawing from an Auto Desk Inventor File. I'm trying to get the returned drawing name to become a hyperlink to open the drawing. I would rather have this added to the formula so if a page number ever changes the hyperlink will change to the correct drawing also. Here is what I have so far but it is just returning an error of " cannot open the specified file".
    =HYPERLINK(IF(E5="","",(VLOOKUP(E5,'Inventor Import'!$A$2:$E$200,5,FALSE))))

    Any help would be greatly appreciated.

    TM

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: How do I add a Hyperlink to a vlookup

    What does the VLOOKUP return?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: How do I add a Hyperlink to a vlookup

    Maybe something like this:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    06-07-2013
    Location
    Nebraska
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How do I add a Hyperlink to a vlookup

    After trying many tips from user I was able to add the location of the drawing files I wanted the hyperlink to open and it worked. This is what I ended up with.

    =HYPERLINK(IF(E5="","","\\sbs03\sys\ENGERNG\DRAWINGS\Stock Plates & Clips\Bolted Clips-Inv\"&(VLOOKUP(E5,'Inventor Import'!$A$2:$E$200,5,FALSE))&".dwg"),VLOOKUP(E5,'Inventor Import'!$A$2:$E$200,5,FALSE))

    Thanks for the help.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: How do I add a Hyperlink to a vlookup

    Glad you resolved your problem.

    So basically the problem was your lookup table did not contain folder location or file extension information.

+ 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. Replies: 6
    Last Post: 09-05-2022, 12:27 AM
  2. Using Vlookup to pull hyperlink from Master Hyperlink file list.
    By theflyingnimbus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-02-2013, 01:42 PM
  3. Replies: 4
    Last Post: 03-07-2012, 07:06 AM
  4. Hyperlink + Vlookup + If
    By phoztek in forum Excel General
    Replies: 3
    Last Post: 09-05-2009, 08:54 AM
  5. hyperlink+vlookup
    By eran3185 in forum Excel General
    Replies: 7
    Last Post: 02-17-2009, 11:09 AM

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