![]() |
I am attempting to find the difference between two dates...
I am attempting to find the difference between two dates (in terms of days,
months, and years) but I always get an additional month added on. Why? And how can I fix? For instance, if I want to find the difference between 1/1/2010 and 2/1/2010; it returns 2/0/0 |
I am attempting to find the difference between two dates...
Have a look at Chip Pearson's explanation of DATEDIF
=DATEDIF(A1,B1,"y")&" years "&DATEDIF(A1,B1,"ym")&" months "&DATEDIF(A1,B1,"md") &" days" http://www.cpearson.com/EXCEL/datedif.aspx be careful ewith this because it can throw up some odd results and if you search this forum you'll discover what they are -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "threee11" wrote: I am attempting to find the difference between two dates (in terms of days, months, and years) but I always get an additional month added on. Why? And how can I fix? For instance, if I want to find the difference between 1/1/2010 and 2/1/2010; it returns 2/0/0 |
I am attempting to find the difference between two dates...
Hi
=DATEDIF(D5,E5,"y")&" years "&DATEDIF(D5,E5,"ym")&" months "&DATEDIF(D5,E5,"md")&" days" "threee11" wrote: I am attempting to find the difference between two dates (in terms of days, months, and years) but I always get an additional month added on. Why? And how can I fix? For instance, if I want to find the difference between 1/1/2010 and 2/1/2010; it returns 2/0/0 |
All times are GMT +1. The time now is 03:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com