Conditional Format in Excel 2010

SPLUCENA

Board Regular
Joined
Feb 24, 2009
Messages
189
Hi Again,

This will be my first time to use Excel 2010 conditional formatting: I wish to do the following
If the date in column AF is =< today column A fill color red, text in the cell "Contract Expired"
Date in column AF is expiring within the next months column A fill color orange, text in the cell "Send Mail"
Date in column AF is more than 4 months from today's date, column A fill color green, text in cell " Contract Valid"

Thanks for assisting!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Using cell A2, input this formula
'=IF(AF2 < TODAY(),"Contract Expired", IF(AF2 < TODAY()+30,"Send Mail", IF(AF2 > TODAY()+120,"Contract Valid","")))<today(),"contract Mail?,IF(AF2="" Expired?,IF(AF2<TODAY()+30,?Send=""><today(),"contract Mail?,IF(AF2="" Expired?,IF(AF2<TODAY()+30,?Send="">
This will set text into the cell.

Then use condiftional formatting based on the formula result

=A2="Contract Valid" (set fill of Green)
=A2="Send Mail" (set fill of Yellow)
=A2="Contract Expired" (set fill of Red)

Copy A2 down the column</today(),"contract></today(),"contract>
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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