show picture in cell if the ``if`` formula is true

bjorn1404

New Member
Joined
Feb 11, 2020
Messages
22
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello everyone,

i want to show a picture in a cell if the outcome of the if formula is true.

example

Excel Formula:
if(a1=apple;picture of apple;""

is this posible, and how ? thanks in advance!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Sure. Excel 365 has a new function called IMAGE. The images won't show here in the Forum's sample sheet, but put it in your workbook and presto.

1667245863660.png


Book1
DEF
1CGY
2
3 
4
5
6ANAhttps://upload.wikimedia.org/wikipedia/en/thumb/7/72/Anaheim_Ducks.svg/220px-Anaheim_Ducks.svg.png 
7ARIhttps://upload.wikimedia.org/wikipedia/en/thumb/9/9e/Arizona_Coyotes_logo_%282021%29.svg/220px-Arizona_Coyotes_logo_%282021%29.svg.png 
8BOShttps://upload.wikimedia.org/wikipedia/en/thumb/1/12/Boston_Bruins.svg/220px-Boston_Bruins.svg.png 
9BUFhttps://upload.wikimedia.org/wikipedia/en/thumb/9/9e/Buffalo_Sabres_Logo.svg/220px-Buffalo_Sabres_Logo.svg.png 
10CGYhttps://upload.wikimedia.org/wikipedia/en/thumb/6/61/Calgary_Flames_logo.svg/220px-Calgary_Flames_logo.svg.png 
11
Sheet1
Cell Formulas
RangeFormula
F3F3=IF(F1="CGY",F10)
F6:F10F6=IMAGE(E6)
 
Upvote 0

Forum statistics

Threads
1,215,584
Messages
6,125,678
Members
449,248
Latest member
wayneho98

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top