Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rsdunphy
 
Posts: n/a
Default need to show when date is past due

I need to highlite a cell that has a date and is over due 365 days or more
from todays date. Having trouble with conditioonal formatting
  #2   Report Post  
David Billigmeier
 
Posts: n/a
Default

In the conditional formatting box choose "Formula Is" and enter this:

=DAYS360(A1,TODAY())365

Of course, change the 'A1' reference to whichever cell you are currently in.


--
Regards,
Dave


"rsdunphy" wrote:

I need to highlite a cell that has a date and is over due 365 days or more
from todays date. Having trouble with conditioonal formatting

  #3   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi David

I wondered why you use days360?

Surely it would be more accurate to use
=(TODAY()-A1)365

Regards

Roger Govier


David Billigmeier wrote:
In the conditional formatting box choose "Formula Is" and enter this:

=DAYS360(A1,TODAY())365

Of course, change the 'A1' reference to whichever cell you are currently in.


  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Note that DAYS360() will give inaccurate answers due to its using 30 day
months. For instance

A1: 9/23/2004
A2: =DAYS360(A1, TODAY())

A2 returns 365 for today (27 September 2005) even though the actual
interval is 370 days.

Better to use

=(TODAY()-A1)365

instead.

In article ,
"David Billigmeier"
wrote:

In the conditional formatting box choose "Formula Is" and enter this:

=DAYS360(A1,TODAY())365

Of course, change the 'A1' reference to whichever cell you are currently in.

  #5   Report Post  
Myrna Larson
 
Posts: n/a
Default

It certainly would! With today being Sep 28, 2005, and the prior date being
Sep 27, 2004, simple subtraction of the two dates gives 366, which, according
to the OP's requirements, should be overdue. DAYS360 gives 361, which is not
overdue.

DAYS360 is intended for financial calculations such as bond interest, etc,
where one assumes a year consists of 12 30-day months, or 360 days.

On Wed, 28 Sep 2005 17:59:38 +0100, Roger Govier
wrote:

Hi David

I wondered why you use days360?

Surely it would be more accurate to use
=(TODAY()-A1)365

Regards

Roger Govier


David Billigmeier wrote:
In the conditional formatting box choose "Formula Is" and enter this:

=DAYS360(A1,TODAY())365

Of course, change the 'A1' reference to whichever cell you are currently

in.




  #6   Report Post  
Myrna Larson
 
Posts: n/a
Default

If you want to flag dates that are more than a year ago, and still use
DAYS360, then you should compare the result with 360 rather than 365.

On Wed, 28 Sep 2005 12:53:42 -0500, Myrna Larson
wrote:

It certainly would! With today being Sep 28, 2005, and the prior date being
Sep 27, 2004, simple subtraction of the two dates gives 366, which, according
to the OP's requirements, should be overdue. DAYS360 gives 361, which is not
overdue.

DAYS360 is intended for financial calculations such as bond interest, etc,
where one assumes a year consists of 12 30-day months, or 360 days.

On Wed, 28 Sep 2005 17:59:38 +0100, Roger Govier
wrote:

Hi David

I wondered why you use days360?

Surely it would be more accurate to use
=(TODAY()-A1)365

Regards

Roger Govier


David Billigmeier wrote:
In the conditional formatting box choose "Formula Is" and enter this:

=DAYS360(A1,TODAY())365

Of course, change the 'A1' reference to whichever cell you are currently

in.


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
flag date within a cell after 15 days have past? SAUDIA Excel Worksheet Functions 2 August 19th 05 04:33 PM
Is there a function to show future date taxmom Excel Worksheet Functions 2 March 4th 05 09:23 PM
How do I format the date to show mm/dd NOT m/dd? smags Excel Worksheet Functions 1 January 25th 05 07:39 PM
Show a date based on today DJ Dusty Excel Worksheet Functions 2 November 12th 04 03:20 AM
Show a date based on today DJ Dusty Excel Worksheet Functions 1 November 11th 04 10:28 PM


All times are GMT +1. The time now is 12:30 AM.

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"