If cell is not empty insert image

bobbehman

New Member
Joined
Nov 5, 2021
Messages
2
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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

earthworm

Well-known Member
Joined
May 19, 2009
Messages
639
Office Version
  1. 2019
  2. 2016
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!
I don't think you can achieve this through formula . However in VBA you can
 

bobbehman

New Member
Joined
Nov 5, 2021
Messages
2
Office Version
  1. 2007
Platform
  1. Windows
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,193
Messages
5,768,766
Members
425,492
Latest member
blueexcel123

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
Top