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

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,021
Office Version
  1. 365
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
 

Forum statistics

Threads
1,147,676
Messages
5,742,555
Members
423,737
Latest member
tom_xls

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