Learn Microsoft Excel Training from the Best Tutors
Search in
Hi All,
My question is how to define age calculation in excel by formula?
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".
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.
read lessHi 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.
read lessView 22 more Answers
Related Questions
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Why Should you Learn Microsoft Office
Microsoft Office is a very popular tool amongst students and C-Suite. Today, approximately 1.2 billion people across 140 countries use the office programme. It is used at home, schools and offices on a daily basis for organizing, handling and presenting data and information. Microsoft Office Suite offers programs that can...
8 Hottest IT Careers of 2014!
Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...
Learn Microsoft Excel
Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...
Make a Career as a BPO Professional
Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...
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 youThe best tutors for Microsoft Excel Training Classes are on UrbanPro
The best Tutors for Microsoft Excel Training Classes are on UrbanPro