+ Reply to Thread
Results 1 to 3 of 3

Hyperlink from file based on cell value

  1. #1
    Registered User
    Join Date
    10-31-2011
    Location
    Denver, CO
    MS-Off Ver
    Excel 2010
    Posts
    2

    Hyperlink from file based on cell value

    I would like to create hyperlink references to some jpeg files based on text values in cells. The jpeg's are located in a folder, let's say "C:\Data".
    I have 2 columns in Excel. The first one will be the serial # for something I am collecting data for, say 001, 002, etc. This corresponds to the filename of the jpeg (001.jpeg, 002.jpeg).
    In the second column, I would like to create a hyperlink to the jpeg file.
    How would I create a hyperlink to C:\Data\"serial_number".jpeg based on the value of a cell containing "001"?

    Thank you!

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094

    Re: Hyperlink from file based on cell value

    Hi,

    Try the HYPERLINK formula where your serial number is in A2.

    =HYPERLINK("C:\Data\"&A2&".jpg",A2&".jpg")


    HTH.

    Steve

  3. #3
    Registered User
    Join Date
    10-31-2011
    Location
    Denver, CO
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Hyperlink from file based on cell value

    That worked perfectly! Thank you!

+ 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