I iliace Nov 15, 2007 #6 How do I find the exact years and days between 2 dates? Click to expand... Use DATEDIF. Example assumes the two dates are in C28 and D28: =DATEDIF(MIN(C28,D28),MAX(C28,D28),"y")&" years, "&DATEDIF(MIN(C28,D28),MAX(C28,D28),"md")&" days" Use this formula if you want the days to be inclusive: =DATEDIF(MIN(C28,D28),MAX(C28,D28),"y")&" years, "&DATEDIF(MIN(C28,D28),MAX(C28,D28),"md")+1&" days" Here's a reference: http://www.cpearson.com/excel/datedif.aspx
How do I find the exact years and days between 2 dates? Click to expand... Use DATEDIF. Example assumes the two dates are in C28 and D28: =DATEDIF(MIN(C28,D28),MAX(C28,D28),"y")&" years, "&DATEDIF(MIN(C28,D28),MAX(C28,D28),"md")&" days" Use this formula if you want the days to be inclusive: =DATEDIF(MIN(C28,D28),MAX(C28,D28),"y")&" years, "&DATEDIF(MIN(C28,D28),MAX(C28,D28),"md")+1&" days" Here's a reference: http://www.cpearson.com/excel/datedif.aspx
D David Biddulph Nov 15, 2007 #7 You presumably mean DATEDIF, not DATEIF ? I've suggested the use of http://www.cpearson.com/excel/datedif.aspx which will also show the syntax to get the days part to add to the number of years.
You presumably mean DATEDIF, not DATEIF ? I've suggested the use of http://www.cpearson.com/excel/datedif.aspx which will also show the syntax to get the days part to add to the number of years.