Conditional Formatting Based On Another Cells Value

gedkins

New Member
Joined
Sep 30, 2014
Messages
15
Hi,

I am trying to have a cell show an icon set based on another cells value. The other cell being a percentage value. I have it working... almost. It turns out that the cell I am placing the icon set in is a Unit Price cell (column) which is looking at a cell elsewhere in the workbook. When the Unit Price cell is empty (no value) the conditional logic works as I would like. In this case if the percentage cell is 100%, the Unit Price cell shows a green circle at the left. If the percentage cell is anything less than 100% and not 0 then the icon is yellow. 0 percent gets a red icon. However if the Unit Cost cell gets a value itself, the icon is always green. It appears to be ignoring the percentage cell value. I based the conditional logic on an equation with the Type field set to Number. The equations are as follows. Green icon when value is >= =If($G$4>.99;0;1) and Red when < formula >= =If(($G$4=0;0;.1).

Why does the Unit Cell ignore the conditional logic once a value is entered in that cell? :eeek:
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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