Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Days Difference Between two days

I want to calculate No. of Days between two dates [Ex. 01-jan-2006 to
31-dec-2006], its should give 365 days, but in Excel Sheet it's giving 364
days,

Please help me.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Days Difference Between two days

364 is correct.

why?

because the difference between 1/1/2006 and 1/2/2006 is only 1
--
Gary's Student
gsnu200703


"Ibrahim" wrote:

I want to calculate No. of Days between two dates [Ex. 01-jan-2006 to
31-dec-2006], its should give 365 days, but in Excel Sheet it's giving 364
days,

Please help me.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 268
Default Days Difference Between two days

This is perennial trap. The answer lies in whether or not you are counting
gross or net days. In a situation of, say, the payment of a pension due on
01/01/2006 the number of days in payment is 365 (366). In a situation of,
the number of days available to do something, the number of days is 364
(365).

In the first example it is necessary to have =date2-date1+1.

Regards.

Bill Ridgeway
Computer Solutions

"Gary''s Student" wrote in message
...
364 is correct.

why?

because the difference between 1/1/2006 and 1/2/2006 is only 1
--
Gary's Student
gsnu200703


"Ibrahim" wrote:

I want to calculate No. of Days between two dates [Ex. 01-jan-2006 to
31-dec-2006], its should give 365 days, but in Excel Sheet it's giving
364
days,

Please help me.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Days Difference Between two days

good explanation
--
Gary's Student
gsnu200703


"Bill Ridgeway" wrote:

This is perennial trap. The answer lies in whether or not you are counting
gross or net days. In a situation of, say, the payment of a pension due on
01/01/2006 the number of days in payment is 365 (366). In a situation of,
the number of days available to do something, the number of days is 364
(365).

In the first example it is necessary to have =date2-date1+1.

Regards.

Bill Ridgeway
Computer Solutions

"Gary''s Student" wrote in message
...
364 is correct.

why?

because the difference between 1/1/2006 and 1/2/2006 is only 1
--
Gary's Student
gsnu200703


"Ibrahim" wrote:

I want to calculate No. of Days between two dates [Ex. 01-jan-2006 to
31-dec-2006], its should give 365 days, but in Excel Sheet it's giving
364
days,

Please help me.




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
Difference between 2 dates, incl weekends, with variable work days babryanton Excel Discussion (Misc queries) 4 July 11th 06 06:56 PM
Difference between 2 dates, incl weekends, with variable work days babryanton Excel Worksheet Functions 0 July 7th 06 11:24 PM
Formula to find the working days difference between to dates? Mudgeman Excel Discussion (Misc queries) 2 May 15th 06 04:26 AM
Please help!! Vacation Accrual Formula MissNadine Excel Worksheet Functions 1 August 19th 05 02:32 AM
difference between two dates in years, months and days. ruby Excel Worksheet Functions 2 April 4th 05 04:51 PM


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