Learn Microsoft Excel Training from the Best Tutors

• Affordable fees
• 1-1 or Group class
• Flexible Timings
• Verified Tutors

Search in

# Hi All,My question is how to define age calculation in excel by formula?

Enter DOB in one cell. For example in Cell A1. Then in the cell where you want to calculate Age there write as =(TODAY()-A1)/365.25 .25 has been added to the 365 because to accommodate the leap year days in between.

Advance Excel, VBA Macro, Powerpoint & Data Analysis Corporate Trainer

Hi Binayak,In Excel, we have datedif(Start date, Date of Birth, format code) function.Format code are as follow :"y" -> year differance"ym" -> year in month"md" -> month in daycomplete syntax:=datedif(Start date,Date of Birth, "y")&" years "&datedif(Start date,Date of Birth, "ym")&"...

Hi Binayak,
In Excel, we have datedif(Start date, Date of Birth, format code) function.
Format code are as follow :
"y" -> year differance
"ym" -> year in month
"md" -> month in day
complete syntax:
=datedif(Start date,Date of Birth, "y")&" years "&datedif(Start date,Date of Birth, "ym")&" months&datedif(Start date,Date of Birth, "md")&" days".

Chartered Accountant with 8 years industry experience

Just write date of birth and current date from which age calculation required. Format it to date format and minus from current date to date of birth.

Computer Basics, M S Office, Computer Programming

Enter date in A1 cell (eg. 2nd April 1991) and in B1 paste this formula =INT( (TODAY()-A1) / 365)

Chartered accountant with more than 2 year experience in teaching

Use date if function

You can use the DATEDIF function. This function will not reflect while type this function. Just type =DatedIF(DateOfBirth,Today(),"y") - this will year.

Trainer

Where G2 is birth date and G10 is todays date =TEXT(G10,"yyyy") - TEXT(G2,"yyyy") & " year " & TEXT(G10,"mm") - TEXT(G2,"mm") & " months and " & TEXT(G10,"dd") - TEXT(G2,"dd") & " days."

You can enter your date of birth in one column, and current date in another, then you can subtract to get the answer as age. Also, there are functions 1/1/2001 1/1/2003 =DATEDIF(Start_date,End_date,"Y") With this you can easily find age in years, you can feed "D" or "M" as well.

You can enter your date of birth in one column, and current date in another, then you can subtract to get the answer as age.

Also, there are functions

 1/1/2001 1/1/2003 =DATEDIF(Start_date,End_date,"Y")

With this you can easily find age in years, you can feed "D" or "M" as well.

IT Professional Trainer with more than 30 years of experience in IT Industry

In A1 Cell write your Date of birth. Now in A3 Cell write the formula =DATEDIF(A1,Today(),"Y")&" Years, "&DATEDIF(A1,Today(),"YM")&" Months and "&DATEDIF(A1,Today(),"MD")&" Days" . This will give the result as "__ Years, __ Months and __ Days"

SAS Certified Data Analytics Trainer with 17 years of experience

Hi Binayak, for this we can use Yearfrac() function. Syntax =Yearfrac(Startdate,Enddate,Basis)Basis 1 Actual/actual -Taking actual no. of days in year 2 Actual/360 Considering 360 days / year 3 Actual/365 considering 365 days /year Hope this solves your query.

Hi Binayak,
for this we can use Yearfrac() function.

Syntax =Yearfrac(Startdate,Enddate,Basis)
Basis 1 Actual/actual -Taking actual no. of days in year

2 Actual/360 Considering 360 days / year

3  Actual/365 considering 365 days /year

Related Questions

Hi, I'm BCA graduate, and I have seven years in the general insurance field now I want to change my profile and upgrade my knowledge. Will learning python help me with my growth in my career?
Hi, as far as my knowledge goes first, you should learn data processing tools or programs like MS Excel, Power Bi, or SQL then you should then take a leap into Python, which will make automating your work quite simple.
Supriya

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Related Lessons

Cell Properties
G

Gagan G.

Pivot table - Transform numbers in calculated field
How to convert the absolute numbers in pivot table into Lakhs, Millions, Trillions without adding a spare column in the data source. Name the field in the Calculated field and apply the formula by Double-clicking...

Multiple rows selections
G

Gagan G.

Range Selections
G

Gagan G.

Looking for Microsoft Excel Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

### Looking for Microsoft Excel Training Classes?

The best tutors for Microsoft Excel Training Classes are on UrbanPro

• Select the best Tutor
• Book & Attend a Free Demo
• Pay and start Learning

### Learn Microsoft Excel Training with the Best Tutors

The best Tutors for Microsoft Excel Training Classes are on UrbanPro