PC Review


Reply
Thread Tools Rate Thread

Days360() is only approximate

 
 
Paul
Guest
Posts: n/a
 
      11th Aug 2009
I've noticed that the Days360() function assumes all months have 30 days,
and for that reason it doesn't give an exact count of the actual number of
calendar days if the interval covers months that do not have exactly 30
days.

Is there a function in Excel I can use to get the exact number of calendar
days over any date interval?

Thanks in advance,

Paul


 
Reply With Quote
 
 
 
 
Ron Rosenfeld
Guest
Posts: n/a
 
      11th Aug 2009
On Mon, 10 Aug 2009 16:29:27 -0700, "Paul" <(E-Mail Removed)> wrote:

>I've noticed that the Days360() function assumes all months have 30 days,
>and for that reason it doesn't give an exact count of the actual number of
>calendar days if the interval covers months that do not have exactly 30
>days.
>
>Is there a function in Excel I can use to get the exact number of calendar
>days over any date interval?
>
>Thanks in advance,
>
>Paul
>


Excel stores dates as serial numbers. Just subtract one from the other.

e.g.

A1: 1/5/2009
A2: 1/10/2009

=A2-A1
--ron
 
Reply With Quote
 
Paul
Guest
Posts: n/a
 
      11th Aug 2009
> Excel stores dates as serial numbers. Just subtract one from the other.

Duh. I forgot about that.

Thanks, Ron.



"Ron Rosenfeld" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Mon, 10 Aug 2009 16:29:27 -0700, "Paul" <(E-Mail Removed)> wrote:
>
>>I've noticed that the Days360() function assumes all months have 30 days,
>>and for that reason it doesn't give an exact count of the actual number of
>>calendar days if the interval covers months that do not have exactly 30
>>days.
>>
>>Is there a function in Excel I can use to get the exact number of calendar
>>days over any date interval?
>>
>>Thanks in advance,
>>
>>Paul
>>

>
> Excel stores dates as serial numbers. Just subtract one from the other.
>
> e.g.
>
> A1: 1/5/2009
> A2: 1/10/2009
>
> =A2-A1
> --ron



 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      11th Aug 2009
On Mon, 10 Aug 2009 17:03:56 -0700, "Paul" <(E-Mail Removed)> wrote:

>Thanks, Ron.


You're welcome. Glad to help
--ron
 
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
days360 keng Microsoft Excel Misc 3 19th Mar 2008 05:33 PM
how to look up an approximate value in two columns =?Utf-8?B?RGVpc2UgQlI=?= Microsoft Excel Worksheet Functions 3 18th Aug 2007 11:29 PM
DAYS360 =?Utf-8?B?Q2FuZGVudGNvIENyZWF0aXZlIENvbGxlY3Rpb24= Microsoft Excel Worksheet Functions 4 12th Apr 2007 09:48 PM
how 2 approximate 0.1 to be 1 Hazem Microsoft VB .NET 3 9th Dec 2006 05:44 AM
DAYS360 =?Utf-8?B?SmFuIEJ1Y2tsZXk=?= Microsoft Excel Worksheet Functions 3 21st Jul 2005 10:44 PM


Features
 

Advertising
 

Newsgroups
 


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