
Signature
Kind regards,
Niek Otten
Microsoft MVP - Excel
Hi Niek,
Here are my inputs and outputs:
Start date End Date Output = DAYS360(Start date, End date)
1/1/2007 1/31/2007 30
2/1/2007 2/28/2007 27
3/1/2007 3/31/2007 30
4/1/2007 4/30/2007 29
5/1/2007 5/31/2007 30
6/1/2007 6/30/2007 29
7/1/2007 7/31/2007 30
8/1/2007 8/31/2007 30
9/1/2007 9/30/2007 29
10/1/2007 10/31/2007 30
11/1/2007 11/30/2007 29
12/1/2007 12/31/2007 30
SUM 353
However:
1/1/2007 12/31/2007 360
Moreover, generating quarterly results
1/1/2007 3/31/2007 90
4/1/2007 6/30/2007 89
7/1/2007 9/30/2007 89
10/1/2007 12/31/2007 90
I am confused....
Thanks!
> Your formulas, input and results please?
>
[quoted text clipped - 5 lines]
> | function indeed gives 360 days. I am very perplexed. Could anyone help,
> | please???
David Biddulph - 07 Mar 2008 18:35 GMT
You should have the dates as start 1st Jan end 1st Feb, then start 1st Feb
end 1st March, and so on. You've got a day's gap each month.

Signature
David Biddulph
> Hi Niek,
> Here are my inputs and outputs:
[quoted text clipped - 39 lines]
>> | function indeed gives 360 days. I am very perplexed. Could anyone help,
>> | please???
butterscotch - 07 Mar 2008 19:54 GMT
You are the best! Thank you David.
> You should have the dates as start 1st Jan end 1st Feb, then start 1st Feb
> end 1st March, and so on. You've got a day's gap each month.
[quoted text clipped - 41 lines]
> >> | function indeed gives 360 days. I am very perplexed. Could anyone help,
> >> | please???
Niek Otten - 07 Mar 2008 18:41 GMT
Your end dates are all one day early.
Take the following example:
Start date: 1-1-2008
End date: 1-1-2008
Days360 will return zero because not one day has (completely) passed.
If you change all your end dates to the first day of the next month, you'll get 30 days for each pair of dates, no matter what the
real duaration of that month is. So they'll total up to 360 as well.

Signature
Kind regards,
Niek Otten
Microsoft MVP - Excel
| Hi Niek,
| Here are my inputs and outputs:
[quoted text clipped - 35 lines]
| > | function indeed gives 360 days. I am very perplexed. Could anyone help,
| > | please???