Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MAD
 
Posts: n/a
Default Automatic updating of Conditional Formats using dates

I've set up a spreadsheet using conditional formats and dates for the first
time.

The conditions are as follows If Cell Value is greater than =TODAY(0)+60 -
condition green

If Cell Value is between =TODAY(0)+60 and TODAY(0)+20 - condition orange

If Cell Value is less =TODAY(0)+20 - condition red

The conditions work but DO NOT AUTOMATICALLY RE-CALCULATE and so DO NOT FLAG
CRITICAL DATES. Eg if a date when I entered it more than 60 days from the
current date it would of course be green. Two weeks later when I open the
spreadsheet and rthe date shown is now only 50 days from TODAY it still shows
green and not orange.

If I change the date and then change it back it will show orange but will
not automatically update the condition.

Is there anyway I can do this?

--
Thank you for your help

Marylin
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

Try using =TODAY() instead of =TODAY(0)
if you type them into a worksheet the first will work the other will fail.

If Cell Value is between =TODAY(0)+60 and TODAY(0)+20 - condition orange


I think you want to use formulas, if A1 is the active cell

CF1: =AND(A1<=(TODAY()+60,A1=TODAY()+20)
CF2: =A1<=(TODAY()+20)

at least for a range for between put the lower number first.
For more information on Conditional Formatting see
http://www.mvps.org/dmcritchie/excel/condfmt.htm

If you are using Conditional Formatting, the change will be immediate.
You had a problem with your formulas (use of TODAY().
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"MAD" wrote in message ...
I've set up a spreadsheet using conditional formats and dates for the first
time.

The conditions are as follows If Cell Value is greater than =TODAY(0)+60 -
condition green

If Cell Value is between =TODAY(0)+60 and TODAY(0)+20 - condition orange

If Cell Value is less =TODAY(0)+20 - condition red

The conditions work but DO NOT AUTOMATICALLY RE-CALCULATE and so DO NOT FLAG
CRITICAL DATES. Eg if a date when I entered it more than 60 days from the
current date it would of course be green. Two weeks later when I open the
spreadsheet and rthe date shown is now only 50 days from TODAY it still shows
green and not orange.

If I change the date and then change it back it will show orange but will
not automatically update the condition.

Is there anyway I can do this?

--
Thank you for your help

Marylin



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

I don't think you can enter today like that, both the conditional formatting
and regular cell entries refuse to accept it so I don't understand how the
OP can get any results at all?

--
Regards,

Peo Sjoblom


"David McRitchie" wrote in message
...
Try using =TODAY() instead of =TODAY(0)
if you type them into a worksheet the first will work the other will fail.

If Cell Value is between =TODAY(0)+60 and TODAY(0)+20 - condition orange


I think you want to use formulas, if A1 is the active cell

CF1: =AND(A1<=(TODAY()+60,A1=TODAY()+20)
CF2: =A1<=(TODAY()+20)

at least for a range for between put the lower number first.
For more information on Conditional Formatting see
http://www.mvps.org/dmcritchie/excel/condfmt.htm

If you are using Conditional Formatting, the change will be immediate.
You had a problem with your formulas (use of TODAY().
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"MAD" wrote in message
...
I've set up a spreadsheet using conditional formats and dates for the
first
time.

The conditions are as follows If Cell Value is greater than
=TODAY(0)+60 -
condition green

If Cell Value is between =TODAY(0)+60 and TODAY(0)+20 - condition orange

If Cell Value is less =TODAY(0)+20 - condition red

The conditions work but DO NOT AUTOMATICALLY RE-CALCULATE and so DO NOT
FLAG
CRITICAL DATES. Eg if a date when I entered it more than 60 days from
the
current date it would of course be green. Two weeks later when I open
the
spreadsheet and rthe date shown is now only 50 days from TODAY it still
shows
green and not orange.

If I change the date and then change it back it will show orange but will
not automatically update the condition.

Is there anyway I can do this?

--
Thank you for your help

Marylin




  #4   Report Post  
David McRitchie
 
Posts: n/a
Default

I don't think she really got any results, at least not what she was
expecting. Worksheet formula would not allow it. Errors in
Conditional Formatting will not produce an error -- that is the nature
of the beast -- it just reduces the entire statement like any other
statement to True or False. In other words it is a good idea
to check such syntax or statements on the worksheet to check
their validity and that they are working as desired.

"Peo Sjoblom" wrote in messagel...
I don't think you can enter today like that, both the conditional formatting
and regular cell entries refuse to accept it so I don't understand how the
OP can get any results at all?



  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

When I try to enter =TODAY(0) under formula is in conditional formatting I
get an error preventing me from doing it

--
Regards,

Peo Sjoblom


"David McRitchie" wrote in message
...
I don't think she really got any results, at least not what she was
expecting. Worksheet formula would not allow it. Errors in
Conditional Formatting will not produce an error -- that is the nature
of the beast -- it just reduces the entire statement like any other
statement to True or False. In other words it is a good idea
to check such syntax or statements on the worksheet to check
their validity and that they are working as desired.

"Peo Sjoblom" wrote in messagel...
I don't think you can enter today like that, both the conditional
formatting
and regular cell entries refuse to accept it so I don't understand how
the
OP can get any results at all?






  #6   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

set calculations to automatic under toolsoptionscalculations

--
Regards,

Peo Sjoblom


"MAD" wrote in message
...
I've set up a spreadsheet using conditional formats and dates for the
first
time.

The conditions are as follows If Cell Value is greater than =TODAY(0)+60 -
condition green

If Cell Value is between =TODAY(0)+60 and TODAY(0)+20 - condition orange

If Cell Value is less =TODAY(0)+20 - condition red

The conditions work but DO NOT AUTOMATICALLY RE-CALCULATE and so DO NOT
FLAG
CRITICAL DATES. Eg if a date when I entered it more than 60 days from the
current date it would of course be green. Two weeks later when I open the
spreadsheet and rthe date shown is now only 50 days from TODAY it still
shows
green and not orange.

If I change the date and then change it back it will show orange but will
not automatically update the condition.

Is there anyway I can do this?

--
Thank you for your help

Marylin


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
How do I add more Conditional Formats? Saint Excel Discussion (Misc queries) 2 April 26th 05 07:30 PM
Excel conditional formats Eric Hudson Excel Discussion (Misc queries) 4 March 6th 05 05:15 AM
how do I apply more than 3 conditional formats in excel chetwyndthomas Excel Discussion (Misc queries) 1 January 30th 05 04:24 PM
how do i get more than three conditional formats in excel Tom_t Excel Worksheet Functions 1 December 15th 04 07:35 AM
Conditional Formats in Excel DaveB Excel Worksheet Functions 2 November 15th 04 07:36 AM


All times are GMT +1. The time now is 02:10 PM.

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

About Us

"It's about Microsoft Excel"