AGE CALCULATION - IN EXCEL

8 views
Skip to first unread message

Sarathy

unread,
Sep 12, 2015, 3:09:42 AM9/12/15
to ecou...@googlegroups.com


Method A: Convert birthdate to age with subtraction

Normally we figure out someone's age with current date subtracting the given birth date. So does it in Excel.

Step 1: Enter current date in a blank cell, such as 2012/6/18 in Cell B2.

Step 2: In another blank cell, enter the formula =(B2-A2)/365, and press the Enter key.

shot-convert-birthdate-0

Then it shows the age in the cell. However, you may get a strange age such as 23.70411. But the following function will figure out a normal age:

=INT((B2-A2)/365)

Method B: Convert birthdate to age with DATEDIF function

Some would like to apply the DATEDIF function to calculate the age. Enter the formula =DATEDIF(A2,NOW(),"y") in a blank cell, it calculates the age immediately after pressing the Enter key.

shot-convert-birthdate-2

Method C: Convert birthdate to age with ROUNDDOWN function

Another function to convert the birth date to age is =ROUNDDOWN(YEARFRAC(A2, TODAY(), 1), 0), which will figure out a standard age, such as 23.

shot-convert-birthdate-1

Method D: Convert birthdate to exact age with DATEDIF function

Sometimes exact age is requires, and you may want to know how many years, months, and days from the birth date to current date. The following formula can help you figure out:

=DATEDIF(A13,TODAY(),"Y") & " Years, " & DATEDIF(A13,TODAY(),"YM") & " Months, " & DATEDIF(A13,TODAY(),"MD") & " Days"

shot-convert-birthdate-3

See the screen shot above, this formula will show you precise result, such as 23 Years, 8 Months, and 14 Days.




---------- Forwarded message ----------
From: Sarathy <tparthasar...@gmail.com>
Date: Thu, Sep 10, 2015 at 8:57 PM
Subject: EXCEL TRICKS
To: Partha Sarathy <tparthasar...@gmail.com>


http://www.extendoffice.com/documents/excel/1438-excel-count-calculate-days-between-two-dates.html

--

Regards,

T. Parthasarathy B.Tech  IT (RHCSA & RHCE)
System Officer,
eCourt Mission Mode Project,
Principal District Court,
Krishnagiri.

Mobile No:+91-9994044852




--

Regards,

T. Parthasarathy B.Tech  IT (RHCSA & RHCE)
System Officer,
eCourt Mission Mode Project,
Principal District Court,
Krishnagiri.

Mobile No:+91-9994044852

Reply all
Reply to author
Forward
0 new messages