+ Reply to Thread
Results 1 to 5 of 5

Insert picture based on cell value

  1. #1
    Registered User
    Join Date
    11-10-2010
    Location
    Oslo
    MS-Off Ver
    Excel 2007
    Posts
    38

    Insert picture based on cell value

    Hi!

    How can I insert a picture based on cell value without using VBA?

    For example:

    If A1>10 ----> Then show a chosen picture in B1

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Insert picture based on cell value

    I've done some pretty intensive research on the subject, and as far as I know, this is not possible without the use of VBA (unless you make your own character in the character editor tool and use that instead).
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Insert picture based on cell value

    How many different pictures are we talking about?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Insert picture based on cell value

    Attached is an example with two pics. Each picture has to be set up separately as described by Ron here

    http://www.excelforum.com/excel-form...n-cell-a1.html

    In My example, A1 is a number. In H1 is a formula
    =IF(A1>10,"dragon","goblin")
    I set the font to white so you can't see it.
    The defined name (as per Ron) ShowMyPic = INDIRECT("pic" & $H$1)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-10-2010
    Location
    Oslo
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Insert picture based on cell value

    Quote Originally Posted by ChemistB View Post
    Attached is an example with two pics. Each picture has to be set up separately as described by Ron here

    http://www.excelforum.com/excel-form...n-cell-a1.html

    In My example, A1 is a number. In H1 is a formula
    =IF(A1>10,"dragon","goblin")
    I set the font to white so you can't see it.
    The defined name (as per Ron) ShowMyPic = INDIRECT("pic" & $H$1)
    Great! Thank you very much! Just what I was looking for

+ 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. Insert Picture based on Cell Value without Macro
    By greggatz in forum Excel General
    Replies: 2
    Last Post: 03-31-2015, 07:38 PM
  2. [SOLVED] Insert Picture in cell, click commanbutton to rename picture, lock cell and remove button
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2014, 10:05 PM
  3. Macro to insert picture in cell based off a value in same cell
    By Greybeard84 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2014, 06:36 AM
  4. Insert Picture based on what is typed in Cell?
    By Mile029 in forum Excel General
    Replies: 1
    Last Post: 04-19-2013, 06:10 AM
  5. VBA for Picture insert at particular worksheet range. Picture name derived from cell.
    By Douglas2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2013, 01:16 AM
  6. insert a picture based on a formula
    By Analyst in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-29-2012, 02:41 AM
  7. [SOLVED] macro: insert picture based on workbook location, not picture root path.
    By NicksDad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2012, 07:47 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