#1   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 07:45 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"