Calculation of age from date of birth in Excel
The following article will guide you how to calculate the age from date of birth in Excel so you can calculate the exact number of standard age in years, months and days.
In the calculation of age based on date of birth, the following cases occur:
- Case 1 : Calculate the normal age by subtracting the year of birth from the current year
- Case 2: Calculate the age with conditions 365 days to be counted as 1 year.
- Case 3: Calculate the full age of the number of years, months and days left when less than 1 year.
The following article guides you how to calculate age in the three above cases:
1. Case 1: Calculate the usual age by subtracting the year of birth from the current year
In this case, the age is calculated by subtracting the year of birth from the current number of years, even though the number of months and days is not sufficient.
Step 1: At the cell to calculate the age enter the formula: = YEAR (TODAY () - YEAR (D6))
Step 2: Press Enter to get the results:
Step 3: Copy the formula for the remaining values:
2. Case 2: Calculating the age with the condition of 365 days to be counted as 1 year.
In calculating the number of retirement years of insurance to reach the retirement age it is necessary to calculate the age with a condition of full 365 days to be rounded up to 1 year of age:
Step 1: In the cell to calculate enter the formula : = DATEDIF (D6, TODAY (), "Y")
Step 2: Press Enter to get the results:
Step 3: Copy the formula for the remaining values. Here we see 3 people born in 1964 but with different ages. The current date is January 3, 2018 (d / m / y) so only people born on March 1, 1964 will be 54 years old. The second person born on May 1, 1964 was missing 2 days to reach 54 years of age.
3. Case 3: Calculating age for the number of years, months and days left when less than 1 year.
With the calculation of the full number of years with the number of months and days of excess is usually calculated in the case of retirement review and salary increase .
Step 1: In the cell to calculate enter the formula: = DATEDIF (D6, TODAY (), "y") & "age" & DATEDIF (D6, TODAY (), "ym") & "month" & DATEDIF (D6, TODAY ( ), "md") & "date"
Step 2: Press Enter to get the results:
Step 3: Copy the formula for the remaining values:
This calculation explains why 3 people have the same year of birth but the time of retirement varies. Because the number of days and months is less than 1 year old, their retirement time varies. For example, the second person is missing 54 days old and not yet retired at the time of review. The 3rd person is missing 4 months and 8 days old enough to age.
Above is a detailed guide on how to calculate age from date of birth in Excel. Depending on the calculation and purpose you use the calculation accordingly.
Good luck!
You should read it
- MS Excel 2007 - Lesson 6: Calculation in Excel
- How to fix the date #VALUE error in Excel
- How to fix date errors when copying to another Excel file
- Calculation of percentages in Excel
- How to add computers to Excel
- Instructions on how to insert the current date in Excel
- How to use SUMPRODUCT function in Excel
- Instructions on how to fix reverse dates in Excel
May be interested
- Convert commas to dots in Excelby default, the number format in excel follows international standards separating thousands with commas and decimals as dots. this way of writing is in contrast to the vietnamese writing style, so this article i will guide how to change commas
- How to paginate pages from any page in Word 2016the following article details how to number pages from any page in word 2016. normally when selecting page numbering, word default page numbering starts from the first page in the text.
- How to turn off, turn on Enable Editing when opening Word, Excelinstructions to turn off, turn on enable editing or protected view mode when opening word and excel files. when you download a word or excel file online, word and excel usually ask you to turn off protected view by clicking enable editing.
- Numbering in Excel 2016numbering in excel is a great feature that excel supports to help users work effectively and reach the fastest speed. the following article provides detailed instructions for numbering in excel 2016.
- How to draw a table - Add, edit, and delete column rows in a table in Excel 2016the following article will guide you in detail how to draw a table - add, edit, delete column rows in excel 2016. select the data area to create the table -> on the insert tab -> tables -> table
- How to draw a table - Add, edit, and delete columns in a table in Word 2016the following article introduces you in detail how to draw a table - add, edit, delete column rows in word 2016 table.