+ Reply to Thread
Results 1 to 4 of 4

VlookUp for Images in a table

  1. #1
    Registered User
    Join Date
    10-24-2018
    Location
    Milan, Italy
    MS-Off Ver
    2013
    Posts
    2

    VlookUp for Images in a table

    Hi everybody!

    I am just subscribed and I need some help with a Macro.

    I am trying to have something similar to a VlookUp but I would like to have images instead of a value as a result.

    Ex:
    In Sheet 1
    A1:A5 = Name of clothes (Sweater, Shirt, Jeans, Hat, Dress)
    B1:B5 = Images JPG of Clothes according to the name in A column.

    In Sheet 2
    A1:A5 = Name of clothes in a different order
    B1:B5 = I would like to have the images in Sheet 1 according to the name on A column


    I found a macro on other website, and it works in the sense that I can write each cloth on Sheet 2 A1 and it gives me the correct image in B1, but in doesn't give me all the other images in the other rows.

    The macro I used is the following:
    Please Login or Register  to view this content.
    In F1 I placed the following formula =MATCH(A1;Sheet1!A:A;0)
    How could I do? What's wrong with this Macro ?

    Thank you so much in advance!

    Giulia
    Last edited by GiuliLa; 10-24-2018 at 10:39 AM. Reason: Code tags added.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,427

    Re: VlookUp for Images in a table

    Welcome to the forum!

    Before posting again, please take a moment to read our very simple forum rules (link in the menu bar above). You are required to use code tags around code - I have added them for you this time, but you must do this yourself in future. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-24-2018
    Location
    Milan, Italy
    MS-Off Ver
    2013
    Posts
    2

    Re: VlookUp for Images in a table

    Hi AliGW,

    I apologize, I'll do it next time!

    Many thanks

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,427

    Re: VlookUp for Images in a table

    Thank you.

+ 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. VLookup or Match Function to Return Images
    By rjj920 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2017, 11:52 PM
  2. Vlookup (but with images)
    By redJohn89 in forum Excel General
    Replies: 2
    Last Post: 07-13-2016, 02:47 AM
  3. [SOLVED] Changing images with userform and VLOOKUP? Not sure
    By Mr_Bill in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2014, 02:31 AM
  4. Images in Table, with filter
    By excel.newbie.1 in forum Excel General
    Replies: 0
    Last Post: 09-12-2013, 04:48 AM
  5. Vlookup for Images
    By navneetvyas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-23-2013, 05:48 AM
  6. [SOLVED] Swap images depending on text in cell (vlookup for images??)
    By ld2x07 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-06-2013, 10:32 AM
  7. VLOOKUP for Images
    By HraHuuh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2012, 02:34 PM

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