QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to Calculate Age in Excel?

By Neha T Leave a Comment

Excel doesn’t have any specific function to calculate age. However, we can still calculate age with the help of certain functions present in Excel. We can calculate the age of any person incorporating his birth date and the current date in certain excel functions.

In this section, we will consider different methods or formulas to calculate age, we will also discuss their consequences. So, let us start with the steps for calculating age in excel.

Steps to Calculate Age in Excel 2016:

For the examples below the date of birth is in cell B2 and the current date is in cell B3.

Formula 1:

=(YEAR(NOW()) – YEAR (B2))

In the image below, you can observe that the result of the formula above is 30. So, the age of the person with the birth date 24-02-1990 is 30.

The YEAR() function in Excel returns the year of the date, fed in the function. The NOW() function returns the current date and time. You can also use TODAY() function in place of NOW() as TODAY() returns the current date. So finally, both the YEAR() functions in the formula return the year of the date fed to them which is then subtracted to get the result.

Calculate Age in Excel 1

Formula 2:

=YEAR(TODAY())-1990

In the image below, you can see that the result of the formula above is 30. Here, the TODAY function has return today’s date i.e. the current date. This current date is fed to YEAR() function which in turn returns the year of current date i.e. 2020 (for this example) which is then subtracted from year of the birth 1990 (for this example).

Calculate Age in Excel 2

Formula 3:

=YEARFRAC(B2, B3, 1)

The result for the formula above for this example is 30.0636757. The YEARFRAC() function returns the number of years passed between the start date and end date in a fraction.

Calculate Age in Excel 3

Formula 4:

=(B2-B3)/365.25

The formula above is very simple, we are just subtracting two cells with birth date and current date, this would subtract the two serial numbers corresponding to birth date and current date by which Excel recognizes that particular date.

It would return the number of days between the birth date and current date which is then divided by 365.25 to get the number of years passed between birth date and current date.

Calculate Age in Excel 4

Formula 5:

=DATEDIF(Start_date, End_date, “Y” )

DATEDIF function returns the number of years passed between the start_date and end_date if the last argument is “Y”.

DATEDIF function returns the number of months passed between the start_date and end_date if the last argument is “M”. To get months passed after the complete number of years passed between the start_date and end_date, the argument should be “YM”.

DATEDIF function returns the number of days passed between the start_date and end_date if the last argument is “D”. To get days passed after the complete number of months passed between the start_date and end_date, the argument should be “MD”.

In the image below, you can observe we have concatenated the same function three times using ‘&’ to get the number of years, months & days between birth date and current date.

Calculate Age in Excel 5

Formula 6:

=ROUNDDOWN(YEARFRAC(B2, B3,1), 0)

In the examples, above we got the result in a fraction. But in general, we talk of age as a round figure. So, in the formula above we have used ROUNDDOWN() function along with YEARFRAC() to round off the value returned by YEARFRAC().

Calculate Age in Excel 6

So, this is how you can calculate age in excel. Friends this is not all, you can calculate age with many other functions of Excel. Explore more to get other methods too. Hope the content is useful. Keep reading.

You Might Also Like:

generate a random number in excel featured imageHow to Generate Random Number in Excel? How to Concatenate in Excel -featured imageHow to Concatenate Multiple Cells in MS Excel 2016? Sumif feature imageHow to SUMIF in Excel? feature imageHow to COUNTIF in MS Excel 2016? how-to-use-vlookup-in-ms-excel-2016-featured-imageHow to use VLOOKUP in MS Excel 2016? Calculate percentage Featured ImageHow to Calculate Percentage in MS Excel 2016? How to add in Excel-featured imageHow to Add or Sum in MS Excel 2016? count unique values featured imageHow to Count Unique Values in Excel 2016?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to browse pages in PDF
  • How to Reduce Boot Time in Windows 10?
  • How to Map a Network Drive in Windows 7
  • How to Login as Administrator in Windows 10?
  • How to Install Firebug in Mozilla Firefox

Copyright © 2023 · QueHow · Contact Us