PC Review


Reply
Thread Tools Rate Thread

Conditional formatting based on dates

 
 
Ann
Guest
Posts: n/a
 
      30th Nov 2007
I would like to shade cells in my spreadsheet based on information contained
within two date fields:
Column E = Target Date
Column F = Complete Date (left blank until task completed)
Column G = Status (shaded yellow if today's date is equal to col. E and col.
F is null; shaded red if today's date is past col. E and col. F is null;
shaed grey if col. F contains any date (is not null).

Any help would be appreciated.
 
Reply With Quote
 
 
 
 
Nigel
Guest
Posts: n/a
 
      30th Nov 2007
You need to set up conditional formatting for the cells.

Select the first cell in column G that you wish to control. Goto to the
menu item Format and choose Conditional Formatting.

In the left hand box condition 1, select 'Formula Is' , in the box next to
the right type in =AND($E4=TODAY(),$F4=0)
(Note: I have chosen row 4 above, change to suit your first row); then in
click the Format option and set the Pattern to Yellow.

Click Add>> and in condition 2 set 'Formula Is' and enter in box
=AND(($E4<TODAY(),$F4=0)
Set pattern to Red.

Click Add>> and in condition 3 set 'Formula Is' and enter in box =F8>0
Set pattern to Grey.

Press OK and copy the cell down to all rows to be monitored.


--

Regards,
Nigel
(E-Mail Removed)



"Ann" <(E-Mail Removed)> wrote in message
news:A7FA4DD0-E97D-4612-B31D-(E-Mail Removed)...
>I would like to shade cells in my spreadsheet based on information
>contained
> within two date fields:
> Column E = Target Date
> Column F = Complete Date (left blank until task completed)
> Column G = Status (shaded yellow if today's date is equal to col. E and
> col.
> F is null; shaded red if today's date is past col. E and col. F is null;
> shaed grey if col. F contains any date (is not null).
>
> Any help would be appreciated.


 
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 based upon due dates Tracey G Microsoft Excel Worksheet Functions 2 27th Jan 2010 12:31 PM
Conditional Formatting Based on Due Dates Morgimo Microsoft Excel Worksheet Functions 3 11th Jun 2009 06:15 PM
Conditional Formatting Based of Cells Based on Data Entry in anoth Jim Microsoft Excel Misc 3 11th Nov 2008 11:52 PM
conditional Formatting based on cell formatting Totom Microsoft Excel Worksheet Functions 1 20th Jan 2007 02:02 PM
conditional Formatting based on cell formatting Totom Microsoft Excel Worksheet Functions 0 15th Jan 2007 04:35 PM


Features
 

Advertising
 

Newsgroups
 


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