Conditional Formatting

Picnic Basket Ninja

New Member
Joined
Aug 18, 2011
Messages
3
Hello all,
I am in need of some help. I am trying to create a fromula in conditional formatting that will allow me to Highlight a status block (D3) either Red, Yellow, or Green according to the corresponding date in the Next Due Date block (E3). Red being overdue (ie Todays date), Yellow being comming due soon (ie 14 days out from todays date), and Green being not either of the above, or Good (ie greater than 14 days out to whatever date is in the block). Any help would be appriciated.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try these conditions and in order

=E3=TODAY() >> Red

=AND(E3<=TODAY()+14,E3<>"") >> Yellow

=E3>TODAY()+14 >> Green
 
Upvote 0
It might have something to do with a date and time issue. Just a guess.
Does the date cell have a time attached to it.
 
Upvote 0
You could use the INT function to strip the time component from the cell values.

=INT(E3)=TODAY() >> Red

=AND(INT(E3)<=TODAY()+14,E3<>"") >> Yellow

=INT(E3)>TODAY()+14 >> Green
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

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