• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to Calculate Age From their DOB

raj9441557631

New Member
Hi,

I am working as teacher in High School. I have problem while calculating Age of students especially for ssc students.

I am working on Excel Sheet above data. Please help me in this regarding. I am very happy getting the formula in u r web site. But I have little bit confuse using Formula.

So please give me Example
 
Try


=DATEDIF(A2,TODAY(),"Y")&" years, "&DATEDIF(A2,TODAY(),"YM")&" months, "&DATEDIF(A2,TODAY(),"MD")&" days"
 
Hi xld,


great formula, there is no Help for this formula, please explain the use of the "YM" and "MD"


kanti
 
@kchiba,


YM and MD are just telling DATEDIF which interval to use, the doubles usually mean an interval of one type excluding the other, YM is Months excluding Years, MD is Days excluding Months,


DATEDIF is in Excel 2000 help, I still keep a copy of old Excel versions.
 
Hi

Beware DATEDIF is bugged !!!


When

- the most Recent date is on leap year

AND

- RecentDate month is january

AND

- RecentDate day is lower than day of Birthdate


=DATEDIF(BirthDate,RecentDate,"y")&" years "&DATEDIF(BirthDate,RecentDate,"ym")&" months "&DATEDIF(BirthDate,RecentDate,"md")&" days"


Mery Xmas & Happy New Year !!!
 
Back
Top