Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Cell color changes when date gets closer

Hi:

I have a large spreadsheet that I track employee training on. The cells
contain the DUE date of next training I would like to format it so that if a
training date is past the DUE date the cell color is "red". If the date is
within 0-30 days the cell is "amber", and if it is within 31-60 days of DUE
date then "yellow".

Many thanks for you help....
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Cell color changes when date gets closer

See http://www.xldynamic.com/source/xld.CF.html#due

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Ralph" wrote in message
...
Hi:

I have a large spreadsheet that I track employee training on. The cells
contain the DUE date of next training I would like to format it so that
if a
training date is past the DUE date the cell color is "red". If the date
is
within 0-30 days the cell is "amber", and if it is within 31-60 days of
DUE
date then "yellow".

Many thanks for you help....




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Cell color changes when date gets closer

Use Conditional Formatting.

Say Column D contains the due dates, starting in D2.

Select D2, then from the Menu Bar:
<Format <Conditional Formatting,

Change "Cell Value Is" to "Formula Is", and enter this for Condition 1:

=D2<TODAY()

Then click on "Format", and choose a Red Pattern.

Click on <Add, then
Change "Cell Value Is" to "Formula Is", and enter this for Condition 2:

=D2<=TODAY()+30

Then click on "Format", and choose an Amber Pattern.

Click on <Add, then
Change "Cell Value Is" to "Formula Is", and enter this for Condition 3:

=D2<=TODAY()+60

Then click on "Format", and choose a Yellow Pattern.

Then <OK <OK out.

Copy D2 down as needed.

If you already have dates entered in Column D,
use the Format Painter to copy down.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===



"Ralph" wrote in message
...
Hi:

I have a large spreadsheet that I track employee training on. The cells
contain the DUE date of next training I would like to format it so that if
a
training date is past the DUE date the cell color is "red". If the date is
within 0-30 days the cell is "amber", and if it is within 31-60 days of DUE
date then "yellow".

Many thanks for you help....


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Due date - change cell color The moderator Excel Worksheet Functions 2 April 28th 09 07:42 PM
Cell color date sensitive mcneilr Excel Discussion (Misc queries) 7 January 19th 08 12:24 AM
Cell colors or text color changing when date in cell gets closer. Chase Excel Worksheet Functions 5 October 19th 06 08:57 AM
labels closer to axis Meaghan Charts and Charting in Excel 2 April 29th 06 05:38 PM
cell color change based on due date MINAL ZUNKE New Users to Excel 2 June 30th 05 09:24 PM


All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"