Date Difference

  • Thread starter Thread starter Maanu
  • Start date Start date
M

Maanu

Hi,

My DOB is 2-Feb-1970.. I want to know my age on 1-Jan-2010 in Years,Months
and days for Eg: 10 Years,9 months and 10 days.

How can I do this in Excel?

I took the difference by putting the two dates in two cells and took the
difference. But it is not working,

Thanks!
 
If your DOB is in cell A1:
=DATEDIF(A1,TODAY(),"y")&" years, "&DATEDIF(A1,TODAY(),"ym")&" months,
"&DATEDIF(A1,TODAY(),"md")&" days"

will tell you info as of today. Or, you can replace all the TODAY()
functions with a cell reference (A2):
=DATEDIF(A1,A2,"y")&" years, "&DATEDIF(A1,A2,"ym")&" months,
"&DATEDIF(A1,A2,"md")&" days"
 
hi
="My Age now is "&DATEDIF(A1,TODAY(),"y")&" Years,
"&DATEDIF(A1,TODAY(),"ym")&" Months and "&DATEDIF(A1,TODAY(),"md")&" Days"

the above formula is all 1 line.

Regards
FSt1
 
Back
Top