+ Reply to Thread
Results 1 to 8 of 8

Lookup function that produces a image

  1. #1
    Registered User
    Join Date
    08-24-2010
    Location
    a
    MS-Off Ver
    2010
    Posts
    38

    Lookup function that produces a image

    I was hoping someone could help me with this.

    I have a table with a column or unique values and column of URL's that are images.

    I would like to know if were possible to be able to do a vlookup that could produce the image with in the workbook.

    Thanks,
    Brian

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Lookup function that produces a image

    Hi Brian,
    I'd need a sample to understand what you are trying to accomplish.

    VLookup returns the value in a cell in a range that matches the first argument in the VLookup function.

    I'm wondering how returning a value in a range would open a URL or an image? Not that it can't be done somehow but just need an example to try.
    Last edited by MarvinP; 04-21-2011 at 08:26 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    08-24-2010
    Location
    a
    MS-Off Ver
    2010
    Posts
    38

    Re: Lookup function that produces a image

    Quote Originally Posted by MarvinP View Post
    Hir Brian,
    I'd need a sample to understand what you are trying to accomplish.

    VLookup returns the value in a cell in a range that matches the first argument in the VLookup function.

    I'm wondering how returning a value in a range would open a URL or an image? Not that it can't be done somehow but just need an example to try.
    Thanks for looking Marvin,

    I have attached an example.

    I'm not sure how I would be able to produce the image?

    Thanks for the help!

    Brian
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Lookup function that produces a image

    Hi Brian,

    Try in F3 this formula.
    =HYPERLINK(VLOOKUP(E3,A1:B2,2,FALSE),E3)
    This finds the hyperlinked string and returns it and then makes it a hyperlink with the friendly name you searched for.

    See the example file. Look in F3 to see if this works for you.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-24-2010
    Location
    a
    MS-Off Ver
    2010
    Posts
    38

    Re: Lookup function that produces a image

    Quote Originally Posted by MarvinP View Post
    Hi Brian,

    Try in F3 this formula.
    =HYPERLINK(VLOOKUP(E3,A1:B2,2,FALSE),E3)
    This finds the hyperlinked string and returns it and then makes it a hyperlink with the friendly name you searched for.

    See the example file. Look in F3 to see if this works for you.
    Thanks, that works.

    I was hoping there would be a way to keep it all in the sheet.

    Like have a box where the image would populate. Do you think this is possible?

    Thanks,
    Brian

  6. #6
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Thumbs up Re: Lookup function that produces a image

    Dear Brian, Good evening.

    I believe that I solved this kind of question at this message.
    http://www.excelforum.com/excel-new-...readsheet.html

    Take a look at it.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Lookup function that produces a image

    I tried what I think you are leading to a few months ago. I wanted to keep a web sales inventory in a workbook. I found keeping each .jpg in the workbook made the file so big, so fast it wasn't worth it. I found clicking on the URL was just as fast and more efficient.

    Hope this helps.

  8. #8
    Registered User
    Join Date
    08-24-2010
    Location
    a
    MS-Off Ver
    2010
    Posts
    38

    Re: Lookup function that produces a image

    Quote Originally Posted by MarvinP View Post
    I tried what I think you are leading to a few months ago. I wanted to keep a web sales inventory in a workbook. I found keeping each .jpg in the workbook made the file so big, so fast it wasn't worth it. I found clicking on the URL was just as fast and more efficient.

    Hope this helps.
    Thanks,

    This will definitely work.
    I was just hoping there would be a way to have it within the worksheet.

    I really appreciated your input.

    Thanks again for you help

    Brian

+ 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