#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default DAYS360

I have two date columns for which the difference between them is used for
several subsequent calculations. My problem is when I use DAYS360, the
result is not consistent, i.e.:

Column A Column B Result of DAYS360 function

05/01/2007 2/29/2008 9.9 (if I divide by 30 to convert to
months)
05/01/2007 2/29/2008 298.0
or
1/1/2005 12/31/2005 360
12/1/2004 11/30/2005 359

So:

(1) Why does not Excel return 10 or 300 in the first example and 360 on the
last line of the second example or

(2) Does anyone have a another solution?

Many, many thanks!



--MVD
San Francisco, California
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default DAYS360

If you need the number of days between two dates, just subtract one from the other and format as number.
DAYS360 is used in certain areas of finance and insurance and has its own set of rules (two sets, actually), which are explained
in HELP.
Unless you explicitly require the 360-day system, don't use DAYS360.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Candentco Creative Collection" .com wrote in message
...
|I have two date columns for which the difference between them is used for
| several subsequent calculations. My problem is when I use DAYS360, the
| result is not consistent, i.e.:
|
| Column A Column B Result of DAYS360 function
|
| 05/01/2007 2/29/2008 9.9 (if I divide by 30 to convert to
| months)
| 05/01/2007 2/29/2008 298.0
| or
| 1/1/2005 12/31/2005 360
| 12/1/2004 11/30/2005 359
|
| So:
|
| (1) Why does not Excel return 10 or 300 in the first example and 360 on the
| last line of the second example or
|
| (2) Does anyone have a another solution?
|
| Many, many thanks!
|
|
|
| --MVD
| San Francisco, California


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default DAYS360

Thanks. I had considered that but was attempting to use a more "smoother"
approach since the calculations that feed from this result deal with monthlty
rent that is constant each month. However, I will improvise and thanks again
for your time and assistance.

Regards,
--
MVD
San Francisco, California


"Niek Otten" wrote:

If you need the number of days between two dates, just subtract one from the other and format as number.
DAYS360 is used in certain areas of finance and insurance and has its own set of rules (two sets, actually), which are explained
in HELP.
Unless you explicitly require the 360-day system, don't use DAYS360.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Candentco Creative Collection" .com wrote in message
...
|I have two date columns for which the difference between them is used for
| several subsequent calculations. My problem is when I use DAYS360, the
| result is not consistent, i.e.:
|
| Column A Column B Result of DAYS360 function
|
| 05/01/2007 2/29/2008 9.9 (if I divide by 30 to convert to
| months)
| 05/01/2007 2/29/2008 298.0
| or
| 1/1/2005 12/31/2005 360
| 12/1/2004 11/30/2005 359
|
| So:
|
| (1) Why does not Excel return 10 or 300 in the first example and 360 on the
| last line of the second example or
|
| (2) Does anyone have a another solution?
|
| Many, many thanks!
|
|
|
| --MVD
| San Francisco, California



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default DAYS360

Try playing around with something like the following.

=((Year(enddate) - Year(startdate))*12) + (Month(enddate) -
Month(startdate)) & " months & " & (Day(enddate) - Day(startdate)) & " days."

It will give you the number of months and days between the 2 dates. The
issue you are going to have is that the "day" of the month can be different
(end of month is 28, 29, 30, or 31 days). If you can ensure that this is
just full months then you can modify the forumla a little.

HTH

"Candentco Creative Collection" wrote:

I have two date columns for which the difference between them is used for
several subsequent calculations. My problem is when I use DAYS360, the
result is not consistent, i.e.:

Column A Column B Result of DAYS360 function

05/01/2007 2/29/2008 9.9 (if I divide by 30 to convert to
months)
05/01/2007 2/29/2008 298.0
or
1/1/2005 12/31/2005 360
12/1/2004 11/30/2005 359

So:

(1) Why does not Excel return 10 or 300 in the first example and 360 on the
last line of the second example or

(2) Does anyone have a another solution?

Many, many thanks!



--MVD
San Francisco, California

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default DAYS360

Hey, thanks alot. Will play with it and see what shakes out. Have a good one!

--
MVD
San Francisco, California


"William Horton" wrote:

Try playing around with something like the following.

=((Year(enddate) - Year(startdate))*12) + (Month(enddate) -
Month(startdate)) & " months & " & (Day(enddate) - Day(startdate)) & " days."

It will give you the number of months and days between the 2 dates. The
issue you are going to have is that the "day" of the month can be different
(end of month is 28, 29, 30, or 31 days). If you can ensure that this is
just full months then you can modify the forumla a little.

HTH

"Candentco Creative Collection" wrote:

I have two date columns for which the difference between them is used for
several subsequent calculations. My problem is when I use DAYS360, the
result is not consistent, i.e.:

Column A Column B Result of DAYS360 function

05/01/2007 2/29/2008 9.9 (if I divide by 30 to convert to
months)
05/01/2007 2/29/2008 298.0
or
1/1/2005 12/31/2005 360
12/1/2004 11/30/2005 359

So:

(1) Why does not Excel return 10 or 300 in the first example and 360 on the
last line of the second example or

(2) Does anyone have a another solution?

Many, many thanks!



--MVD
San Francisco, California

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
DAYS360 Trouvera52 Excel Worksheet Functions 1 January 2nd 07 06:25 PM
Bug in days360 function Philippe_L Excel Worksheet Functions 3 April 18th 06 09:14 PM
=DAYS360 Owen Excel Discussion (Misc queries) 1 February 15th 06 03:30 PM
Days360 problem jellorain Excel Worksheet Functions 6 February 10th 06 05:22 PM
DAYS360 Jan Buckley Excel Worksheet Functions 3 July 21st 05 10:44 PM


All times are GMT +1. The time now is 08:17 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"