If cell is not empty insert image

bobbehman

New Member
Joined
Nov 5, 2021
Messages
3
Office Version
  1. 2007
Platform
  1. Windows
Hi everyone!

This sounds simple in principle but I'm failing!
I want to insert an image into a cell (the same image each time) if there is a value showing, I've seen a lot of example of a changing image based on result but not a lot of just inserting an image when a value shows in a cell.
In basic something like:

=IF(ISBLANK(B1),"",image)

It's always the same picture I've tried naming it image, and would want it repeated for all lines in the same column, i.e. a1,b1,c1 etc

Thanks if you have any ideas!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi everyone!

This sounds simple in principle but I'm failing!
I want to insert an image into a cell (the same image each time) if there is a value showing, I've seen a lot of example of a changing image based on result but not a lot of just inserting an image when a value shows in a cell.
In basic something like:

=IF(ISBLANK(B1),"",image)

It's always the same picture I've tried naming it image, and would want it repeated for all lines in the same column, i.e. a1,b1,c1 etc

Thanks if you have any ideas!
I don't think you can achieve this through formula . However in VBA you can
 
Upvote 0
I don't think you can achieve this through formula . However in VBA you can
I Don't suppose anyone would have any idea how to implement this? I assume it will have to be a sheet edit code job but I'm not sure the best place to look for examples!
Thanks
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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