PC Review


Reply
Thread Tools Rate Thread

Conditional formatting dates due to expire

 
 
Allan Skyner
Guest
Posts: n/a
 
      10th Dec 2007
I have a column in a spreadsheet which lists the various dates a lease will
expire. What I would like to do is to change the format to yellow when the
date is due in 90 days, (in other words give me a 3 month warning), and
change to red when the date is reached and past. All the other dates will be
green to signify lease is still current. Thanking anyone in advance.
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      10th Dec 2007
Assume dates are in col A

Select col A (A1 active),
then apply CF using "Formula Is" for Conditions 1 to 3 as follows:

Condition 1:
=AND(A1<=TODAY(),A1<>"")
Format > Red fill/white font

Condition 2:
=AND(A1<=TODAY()+90,A1<>"")
Format > Yellow fill

Condition 3:
=AND(A1>TODAY()+90,A1<>"")
Format > Green fill

Click to OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Allan Skyner" wrote:
> I have a column in a spreadsheet which lists the various dates a lease will
> expire. What I would like to do is to change the format to yellow when the
> date is due in 90 days, (in other words give me a 3 month warning), and
> change to red when the date is reached and past. All the other dates will be
> green to signify lease is still current. Thanking anyone in advance.

 
Reply With Quote
 
Bernard Liengme
Guest
Posts: n/a
 
      10th Dec 2007
Select the range of cells to be formatted (I will use A1:A10 as my example)
Use Format | Conditional Formatting from menu
Set the dialog to read:
Formula Is: =TODAY()-A1>=0 then with the Format button on the dialog set
the red text or background as needed
Use the Add button; for second condition
Formula Is =A1-TODAY()<=90 with colour yellow
Add the third condition
Formula Is A1-Today()>90 with colour green

Note: my first cell was A1 so that is why A1 appears in the Formulas, adjust
to match you range
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Allan Skyner" <(E-Mail Removed)> wrote in message
news:F1E22944-BC11-463B-B90D-(E-Mail Removed)...
>I have a column in a spreadsheet which lists the various dates a lease will
> expire. What I would like to do is to change the format to yellow when the
> date is due in 90 days, (in other words give me a 3 month warning), and
> change to red when the date is reached and past. All the other dates will
> be
> green to signify lease is still current. Thanking anyone in advance.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Dates Katie Schertzing Microsoft Excel Misc 1 18th Feb 2010 06:13 PM
Conditional Formatting with Dates JoAnn Microsoft Excel New Users 2 25th Feb 2008 03:12 PM
Conditional Formatting with Dates jstegall Microsoft Excel Programming 0 28th Nov 2007 06:39 PM
Conditional formatting - Dates =?Utf-8?B?RHVuY2Fu?= Microsoft Excel Misc 2 23rd Jul 2007 10:50 PM
Conditional Formatting with Dates =?Utf-8?B?Ug==?= Microsoft Access Forms 4 13th Oct 2005 09:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:36 AM.