Thread: Calculate days
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default Calculate days

Wouldn't a naive user have hoped to get 2 years from such a question?
And if you add a day to the length of a period, and you use 7/3/08 in A1 and
6/3/06, wouldn't one hope to get 2 years 0 months 1 day, rather than 2 years
1 month 1 day?

Isn't DATEDIF a better bet?
--
David Biddulph

"FSt1" wrote in message
...
hi
with 6/3/08 in a1 and 6/3/06 in b1...
=a1-b1
format as custom yy:mm:dd
the above formula and format produces....
01:12:31
or 1 year, 12 months, 31 days

regards
FSt1



"salman" wrote:

How i can calculate exact numbers of days months and year between 2 given
dates in MS Excel.