Forum Discussion

Coolkinkster0001's avatar
Coolkinkster0001
Copper Contributor
Mar 14, 2022
Solved

using if or vllookup to insert an image conditionally

I am trying to insert an image into a spreadsheet from a conditional formula.   As example:   =If(Moon = "Full",Image1,if(moon ="New",Image2,NoImage)   Image1 = Full Moon.jpeg Image2 = New Moo...
  • NikolinoDE's avatar
    Mar 14, 2022

    Coolkinkster0001 

    I don't know of any way to insert an image using VLOOKUP or any other standard function.

    But you can define a function yourself and accordingly insert images after selection.

     

    Here is a small example file how to do it.

     

    It could also be done with VBA.

     

    I would be happy to know if I could help.

     

    NikolinoDE

    I know I don't know anything (Socrates)

    Was the answer useful? Mark them as helpful!

    This will help all forum participants.

     

Resources