IF Condition exsists formular

CCoffee

New Member
Joined
Dec 22, 2002
Messages
9
I am trying to set Conditional Formatting on a row (or cell) if data is not present in three cells.

Basically I have a long list of customers that I need insurance from. If the date has elapsed on the three cells or the three cells are empty then I want to format the background to Red. If one or two of the cells have elapsed or are empty then I want to format the backround yellow. If all three cells are present and have not elapsed I want to format the background green.

Any help appreciated...

/Chris
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try this:

Condition 1: red
=(COUNTIF($A1:$C1,"<"&TODAY())+COUNTIF($A1:$C1,""))=3

Condition 2: yellow
=or((COUNTIF($A1:$C1,"<"&TODAY())+COUNTIF($A1:$C1,""))=2,(COUNTIF($A1:$C1,"<"&TODAY())+COUNTIF($A1:$C1,""))=1)

Condition 3: green
=(COUNTIF($A1:$C1,"<"&TODAY())+COUNTIF($A1:$C1,""))=0
 
Upvote 0

Forum statistics

Threads
1,215,824
Messages
6,127,103
Members
449,358
Latest member
Snowinx

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