Conditional Formatting (CF) Dates

Craigos

New Member
Joined
Aug 6, 2010
Messages
34
Hi All,

I actually have 2 problems I cannot find answers to as such... 1 is with CF and Dates and the other counting the CF dates and despite much searching I cannot find the answers:

My CF cell fill issue:

I need to CF dates as follows:

1. Input a date...up to 14 days from that date the cell = Green
2. Between 15 and 28 days = Amber - this one gets me as I cannot work out the < and > formula
3. From day 29 = Red

Using Excel 2003

Many Thanks

Craigos
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Select the range of interest, say, A2:A10...

Condition 1
Formula Is

=AND(ISNUMBER($A2), TODAY()-$A2 <= 14)

--> Green

Codition 2
Formula Is

=AND(ISNUMBER($A2), TODAY()-$A2 >= 15, TODAY() <= 28)

---> Amber

Condition 3
Formula Is

=AND(ISNUMBER($A2), TODAY()-$A2 > 28)

---> Red
 
Upvote 0
Aladin,

Thank you for such a quick response...I have put formula's in and no matter what the AMBER condition will not CF cell....Green =Brill, Red = Brill...Amber = Fail...does not apply any CF at all...any ideas?

Craigos
 
Upvote 0
Aladin,

Thank you for such a quick response...I have put formula's in and no matter what the AMBER condition will not CF cell....Green =Brill, Red = Brill...Amber = Fail...does not apply any CF at all...any ideas?

Craigos

Try...

=AND(ISNUMBER($A2), TODAY()-$A2 >= 15, TODAY()-$A2 <= 28)

for the last term was missing -$A2...
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,728
Members
452,939
Latest member
WCrawford

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