+ Reply to Thread
Results 1 to 6 of 6

Link an image to cell value to display specific images

  1. #1
    Registered User
    Join Date
    07-19-2019
    Location
    Belfast
    MS-Off Ver
    MS Office 2019
    Posts
    5

    Link an image to cell value to display specific images

    Hey Guys,

    I was jus wondering if it is possible to formulate a cell so that it displays a certain number of images, depending on the linked cell?
    Screenshot 2021-04-27 162427.png
    From the image, I would ideally like to display the number of yellow cars (each car image representing 10 cars), depending on the value that is in the cell with the value 39, to show how many fewer cars would be on the road, based on the figures above. So for the example in the picture, Approx 3 cars would be displayed.


    Anyone have any ideas?

    Thanks
    Last edited by Peter Morgan; 04-27-2021 at 11:33 AM.

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: Link an image to cell value to display specific images

    Hi Peter. I am not fully understanding what you mean by "linked cell". Do you specifically mean by the number in a specific cell, in your case the one with 39 in it? So if it says 40 instead, the image board would show 4 cars?
    So basically if the image board were comprised of 10 cells, say, g1-h5, and the number 39 was in E5, each could have a formula such as if(E5>9,true,"") and h1 could have if(E5>19,true,""), etc. the cells would display the car image when true?
    So with the cell showing 39, 3 cells would show TRUE and would show 3 images of the car. Am I understanding that correctly?
    Thanks.
    Squeaky
    Last edited by Squeaky; 04-27-2021 at 04:03 PM.

  3. #3
    Registered User
    Join Date
    07-19-2019
    Location
    Belfast
    MS-Off Ver
    MS Office 2019
    Posts
    5

    Re: Link an image to cell value to display specific images

    Hi Squeaky,

    Thanks for this! Yes that's what I meant. So 39 above was the particular value in that case, so I'd like 3 cars to appear, and exactly as you say, if the value was 40, 4 cars would appear. From what you said, I think that formula is exactly what I am looking for.
    Thanks for your help!

    Peter

  4. #4
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: Link an image to cell value to display specific images

    I have a formula on an old spreadsheet that should work nicely. I will try to provide this tomorrow if someone else doesn't chime in by then.

  5. #5
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: Link an image to cell value to display specific images

    Hi Peter,
    I did not have the time last night to look up my old formula so I scanned the forums and came up with this. The images are linked to the number in the green cell and will
    show the image when their criteria is met, meaning when the number in green reaches a certain level.
    There are named ranges and each image has a name, as well as formulas in the cells under the images. Some formulas are painted "white" so they do not show.
    If you change the image in cell y2, it will change the image for all.
    Let me know if you have questions.

    Squeaky
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-19-2019
    Location
    Belfast
    MS-Off Ver
    MS Office 2019
    Posts
    5

    Re: Link an image to cell value to display specific images

    Thanks a million Squeaky! This worked perfectly and is doing exactly what I wanted!
    Thanks for your help.

    Peter

+ 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. Convert Image URLs To Actual Images - specific PNGs wont import
    By a_gunslinger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2020, 05:56 PM
  2. Problem with image File Link in Cell not opening image for preview
    By Orada in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2015, 09:33 AM
  3. Display image from url on a different worksheet in specific cell
    By inline3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2014, 06:23 AM
  4. how to link a cell to the specific image file to other folder
    By asadullah in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2014, 06:35 AM
  5. [SOLVED] Linking Image to a cell value, and display the selected image in new sheet
    By siva venkata in forum Excel General
    Replies: 12
    Last Post: 03-25-2014, 02:34 AM
  6. display image when specific value in a cell exist
    By nicosalt in forum Excel General
    Replies: 1
    Last Post: 04-07-2006, 03:00 PM
  7. Replies: 4
    Last Post: 10-05-2005, 11:05 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