Date Difference

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!
 
L

Luke M

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"
 
F

FSt1

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top