Note: The other languages of the website are Google-translated. Back to English
Log in  \/ 
x
or
x
Register  \/ 
x

or

How to convert birthdate to age quickly in Excel?

For instance, you get a range of various birthdate data in Excel, and you need to convert these birthdate to display their exact age value in Excel, how would you like to figure out? This article lists some tips to convert the birth date to age in Excel easily.

Method A:
Convert birthdate to age with formulas

Method B:
Easily convert birthdate to age without remembering formulas


Convert birthdate to age with formulas

The below formulas can help to calculate age based on birthdate in Excel.

Convert birthdate to age with the INT function

The INT function can help to calculate a person's age based on given birthdate, please do as follows.

1. Supposing there are two columns containing birthdate and current date separately.

2. Select a blank cell to output the age, enter the below formula into it and press the Enter key. Select the result cell and then drag it's Fill Handle down to get all results.

=INT((B2-A2)/365)

Convert birthdate to age with the DATEDIF function

The below DATEDIF function can also help.

Select a blank cell to output the age, enter the below formula into it and press the Enter key. Select the result cell and then drag it's Fill Handle down to get all results.

=DATEDIF(A2,NOW(),"y")

Convert birthdate to age with the ROUNDDOWN function

Try the ROUNDDOWN function to calculate age based on birthday as below.

Select a blank cell to output the age, enter the below formula into it and press the Enter key. Select the result cell and then drag it's Fill Handle down to get all results.

=ROUNDDOWN(YEARFRAC(A2, TODAY(), 1), 0)

Display the age as Year + Month + Day format with the DATEDIF function

If you want to display the age as Year + Month + Day format, please try the below DATEDIF function.

Select a blank cell to output the age, enter the below formula into it and press the Enter key. Select the result cell and then drag it's Fill Handle down to get all results.

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


Easily convert birthdate to age without remembering formulas

You can easily convert birthdate to age without remembering formulas with the Date & Time Helper of Kutools for Excel. 

Before applying Kutools for Excel, please download and install it firstly.

1. Select a blank cell to output the age. Then click Kutools > Formula Helper > Date & Time Helper

2. In the Date & Time Helper dialog box, please configure as follows.

  • 2.1) Go to the Age tab;
  • 2.2) In the Date of Birth box, select the cell containing the birth date you will convert to age;
  • 2.3) Choose the Today option in the To section;
  • 2.4) Specify an result type from the Output result type drop-down list;
  • 2.5) Click the OK button.

Then the age is populated in selected cell. Select the result cell and then drag the Fill Handle all the way down to get all ages.

Note: If you want to display the age as Year + Month + Day format, please select Year + Month + Day from the Output result type drop-down list. And the result will be shown as the below screenshot shown. It also supports to display the age as month, week or day based on your needs.

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Related Articles:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    srinu · 1 years ago
    How to convert age to date of birth
  • To post as a guest, your comment is unpublished.
    Chaim Lederfeind · 1 years ago
    Hi Catherine,

    thank you so much for your formula! I am a related service provider for many students with various ages in a school setting. thanks to your formula, the student's age is in front of me during each session, and I am able to adjust session goals appropriately.
  • To post as a guest, your comment is unpublished.
    sami muhammad · 1 years ago
    thanks you so much very very good formula
  • To post as a guest, your comment is unpublished.
    rg · 1 years ago
    Just wanted to say THANK YOU!
  • To post as a guest, your comment is unpublished.
    arbazalamkhan123456@gmail.com · 2 years ago
    Do not show the Detedif Formula in my Excel
    What to do Know?
  • To post as a guest, your comment is unpublished.
    crystal · 3 years ago
    @elsie Dear elsie,
    Please try this formula: =DATEDIF(DATE(IF(LEFT(A2,2)>TEXT(TODAY(),"YY"),"19"&LEFT(A2,2),"20"&LEFT(A2,2)),MID(A2,3,2),MID(A2,5,2)),TODAY(),"y"). A2 is the cell contains the ID number you want to calculate the age based on.
  • To post as a guest, your comment is unpublished.
    elsie · 3 years ago
    if I have their id number how to get their age example their id no consist first 6digit is date of birth

    example 830901056252 , 830901 is date of birth.

    how to take calculate their age
  • To post as a guest, your comment is unpublished.
    Usama · 3 years ago
    Thanks soooooo much dear....!
  • To post as a guest, your comment is unpublished.
    crystal · 3 years ago
    @Alfred Good Day,
    This formula =DATE(YEAR(TODAY())-A1,MONTH(TODAY()),DAY(TODAY())) can help you to calculate the birthday from a given age based on today's date.
  • To post as a guest, your comment is unpublished.
    Alfred · 3 years ago
    please do i calculate the birth date from age
  • To post as a guest, your comment is unpublished.
    lep · 3 years ago
    Leap years! 365.25
  • To post as a guest, your comment is unpublished.
    Amelia · 3 years ago
    Can you add an if clause so that if the DOB column is blank the AGE column will also be blank?
  • To post as a guest, your comment is unpublished.
    SUBRAMANIAN K · 3 years ago
    Thank you Catherine,
    for the whole-hearted appreciation of my solution!
  • To post as a guest, your comment is unpublished.
    Catherine · 3 years ago
    @Catherine YOU ARE AMAZING!!! It worked fantastically. I can now convert all the data for tests from the children in my class using this and I don;t have to work out their age each time. This makes my job much quicker and easier.
    THANKYOU!
  • To post as a guest, your comment is unpublished.
    SUBRAMANIAN K · 3 years ago
    @Catherine Unclear my post went through or not, in response to Catherine's query.

    Repeat my formula which finds the difference between cell B4 contents and a date TODAY() advanced by 3 months:

    =DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"Y")&"."&DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"YM")
  • To post as a guest, your comment is unpublished.
    SUBRAMANIAN K · 3 years ago
    @Catherine The DATEDIF formula used to give the Years and Months in a YY.MM format is understandable. However, each of the 2 components of this formula is a separate number, integer. So, adding 3 to the MM part will only give 14 if it is 11 before the addition. The formula does not know you are looking to set it up as a MONTH.

    So, if you get the DATEDIF between B4, and a date which is a valid date but 3 months after TODAY(), try the following formula, works for me and gave 10.2:

    =DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"Y")&"."&DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"YM")

    Please confirm it worked for you.
  • To post as a guest, your comment is unpublished.
    Catherine · 3 years ago
    I have used the following to calculate the age of children in my class.
    =DATEDIF(B4,TODAY(),"Y")&"."&DATEDIF(B4,TODAY(),"YM")

    with B4 being their date of birth. It produces the correct answer (eg) 9.11

    They take tests 3 months later so I need in another cell to calculate '+3' months. But each time I do this I get 9.14 when I need it to say 10.2

    Can anyone help.
    Thanks
  • To post as a guest, your comment is unpublished.
    Reuben Mkumbo · 3 years ago
    Hi! how to calculate running out date (ROD), if i have a date of birth(DOB). i want that, if enter DOB the ROD can display automatically. i.e i was born in 23 Jan 1998 i need to display automatically ROD. Please help me
  • To post as a guest, your comment is unpublished.
    Reuben Mkumbo · 3 years ago
    How to calculate the retied date, if have date of birth(DOB)? i want to display automatic once enter DOB, the retied date display
  • To post as a guest, your comment is unpublished.
    Kim93 · 4 years ago
    how can i get the year of birth??
  • To post as a guest, your comment is unpublished.
    Arun · 4 years ago
    [b]Very helpful....Now I knew how to convert date in text and count years. :roll: [/b]
  • To post as a guest, your comment is unpublished.
    JENNIEJEN · 4 years ago
    @Thom H THOM H...
    thank you so much... you're the best!
  • To post as a guest, your comment is unpublished.
    Mubeen · 4 years ago
    @Rasel yes its very helpful for me. i easily understand. :)
  • To post as a guest, your comment is unpublished.
    MAJID · 4 years ago
    DEAR SIR KINDLY HELP TO FIND OUT MY DATE OF APPOINTMENT OF SERVICE , MY SERVICE LENGTH IS 24 YEARS 6 MONTH & 5 DAYS ON DATE 24 DECEMBER 2016 KINDLY SUGGEST FORMULA TO FIND OUT DATE OF APPOINTMENT I SHALL REMAIN THANKFUL TO YOU.
  • To post as a guest, your comment is unpublished.
    Matt Viverette · 4 years ago
    One should be careful using Method C, with the YEARFRAC() function, because of rounding error in computations involving leap years. You will calculate the incorrect age for people born in a leap year.

    Example:
    John Smith was born on 6/5/1932. 1932 is a leap year. Compute John Smith's age on 6/5/2002. We would say John Smith is 70 years old on his 70th birthday, 6/5/2002. However, because YEARFRAC(DATE(1932,6,5),DATE(2002,6,5), 1) computes to 69.99795627, adding ROUNDDOWN computes to 69. In fact, John is 70. I'm not sure if this is the best solution, but I've added a precise day to the computation, which I assume shouldn't affect other calculations because it is shorter than the formula assumes a day to be.

    (1/365.2422) is a precise day when accounting for leap years

    My adjusted YEARFRAC is:

    YEARFRAC(DATE(1932,6,5),DATE(2002,6,5), 1)+(1/365.2422) which computes to 70.00069418 and when combined with ROUNDDOWN, gives 70.

    Putting it all together according to the references in the article:
    =ROUNDDOWN(YEARFRAC(A2, TODAY(), 1)+(1/365.2422), 0)
  • To post as a guest, your comment is unpublished.
    SUBRAMANIAN K` · 4 years ago
    Correction to what I just posted, the data is sitting in Cells B2:C13 (not A1:B12)
  • To post as a guest, your comment is unpublished.
    SUBRAMANIAN K` · 4 years ago
    @Cedric Month Invoice Amount Assume cells A1 through B12 contain the 12 month
    Jan 810 names and amounts to invoive as at left.
    Feb 1200 For month Jan
    Mar 850 Invoie Amount 810
    Apr 930
    May 1250 The formula entered in the cell above here
    Jun 1300 framed above is
    Jul 1100
    Aug 820 =VLOOKUP(G3,$B$2:$C$13,2,FALSE)
    Sep 750
    Oct 875
    Nov 980
    Dec 1450

    Cedric, please confirm this answers your query
  • To post as a guest, your comment is unpublished.
    Cedric · 4 years ago
    What formula can I use to obtain the invoice amount for a specific month from a list of months with balances.
  • To post as a guest, your comment is unpublished.
    Kishore Tholana · 4 years ago
    Thanks a lot for the formula. I got the desired result. Many thanks to the thread poster.

    Regards,

    KT
  • To post as a guest, your comment is unpublished.
    Krishna Gupta · 4 years ago
    6/4/1990 in A2

    =TEXT(TODAY()-A2,"YY")&" Years, "&TEXT(TODAY()-A2,"mm")&" Months, "&TEXT(TODAY()-A2,"dd")&" Days"

    use this simple formula and get answer as below :

    26 Years, 03 Months, 15 Days
  • To post as a guest, your comment is unpublished.
    ANNYONG · 4 years ago
    my problem is that when I used the formula and drag it down it will just copy the value of the first cell. .

    I have to enter it one by one.
  • To post as a guest, your comment is unpublished.
    Wendy · 5 years ago
    I want to find out the number of days from 8 May 2016 to 31 July 2016. Is there a formula for this?
  • To post as a guest, your comment is unpublished.
    Ranil Somarathna · 5 years ago
    This function is great. Very easy to understand. Thanks!
  • To post as a guest, your comment is unpublished.
    Moon · 5 years ago
    =DATEDIF(B10,NOW(),"Y")

    Work great for me thank you!!!
  • To post as a guest, your comment is unpublished.
    # Subramanian K` · 5 years ago
    Responding to Beloved 2016-03-04:2016-03-04 in my yahoo mail box.Somehow, I thought they were not directed at me as I don't seem to have given details with commas, spaces, etc. I had only suggested the use of YEARFRAC() instead of DATEDIF function which i wasn't getting on my Excel. A clarification is welcome.
  • To post as a guest, your comment is unpublished.
    Beloved · 5 years ago
    Your teachings COULD be helpful but they are DEFINITELY NOT! Not because they are wrong per se but simply because 1. why do you use comma's (,) when Excel only accepts semi-colons (;) really beats me? 2. why do you put spaces in your examples when Excel NEVER accepts spaces?? Your work could be helpful but it confuses people instead. So, a perfectly good answer fails to produce the desired result practically on Excel because of YOUR carelessness. You spoil your own good work!...
  • To post as a guest, your comment is unpublished.
    Thom H · 5 years ago
    @Subramanian K Datedif is better, but was only introduced on more recent versions of Excel. I believe you can use it as far back as 2003, but it won't give you any autosum guidance (You can still use it though!)
  • To post as a guest, your comment is unpublished.
    Rasel · 5 years ago
    @Daini Malhotra a problem i faced. like: birth date = 1st Nov.'2014, today is 31st Dec.'2015 then the result comes = 1 year, 1 month, 30 days, but the days should be 1day more i.e. 31 days. how can I do this in the above formula? pls help
  • To post as a guest, your comment is unpublished.
    Velmurugan rengaraja · 5 years ago
    It is amazing to understand and very very useful.
  • To post as a guest, your comment is unpublished.
    Subramanian K · 5 years ago
    I couldn't find DATEDIF() in my Excel but YEARFRAC() did it. Hope it is reliable, any comment anyone?
  • To post as a guest, your comment is unpublished.
    Subramanian K · 5 years ago
    In my Excel, I could not get the DATEDIF() function for whatever reason. Yet, I got a YEARFRAC() function which seems to do the same. Hope it is reliable.

    Any comment anyone?
  • To post as a guest, your comment is unpublished.
    Thom · 5 years ago
    @Narsing rao K I have a feeling date functions may do this in later versions of Excel i.e. =month() etc. If not, you'll need to create a table with the number in the first column i.e. 1-12 and months in the 2nd column Jan-Dec) then use vlookups so that the function can convert the numbers into the correct text. A lot of fun to be had there as I once wrote a sheet that did this very thing, there was further issues involved in using the correct affix i.e. nd rd st or th. Again, lookup tables did that and I was able to shorten the funtions calculations by using if statements instead but that was very fiddly and half the time I found myself trying to use PHP which would do the job in no time! Have a look around online as someone's likely done some VBA that'll do the trick or KUTools probably have something.
  • To post as a guest, your comment is unpublished.
    Thom · 5 years ago
    @JAGDISH BAUDH Hi Jagdish,

    Could you please clarify what exactly you need to do? Did you want to work out the date but roll it back by 1 day, 2 months and three years? if so, I'd go with method D (Date Difs) to get each one (year, months and days and wrap each datedif within an =sum() and minus the needed difference form each them. Happy to provide an example if you can clarify what exactly you're after :)
    Thanks,

    Thom
  • To post as a guest, your comment is unpublished.
    Steve Konz · 5 years ago
    @Atomicpetro Are you just trying to get the age they will be in the year of B1? If so, then just do B2 =(B1-(YEAR(A2)))

    If that's not what you are looking for, can you explain what it is you need in more detail?
  • To post as a guest, your comment is unpublished.
    Steve Konz · 5 years ago
    @Thom h If I recall correctly, but datedif wasn't the issue regarding leap years. Once you get the number of days difference and you need to identify a specific date at which they will turn an age is when you need to factor in leap days. The second formula I wrote below does account for those days. If you don't consider that in the formula when you forecast you will be off by a few days.
  • To post as a guest, your comment is unpublished.
    Steve Konz · 5 years ago
    @Channing Channing,

    Can you provide cell references and what data is entered in them along with your formula and that cell reference?

    First thought is you should format your result as a number instead of Date. That might be your issue.
  • To post as a guest, your comment is unpublished.
    Narsing rao K · 5 years ago
    how to convert date of birth in to worlds

    02/02/1966
    second february nineteen sixty six
  • To post as a guest, your comment is unpublished.
    Gatewarden · 5 years ago
    I have about 100 cells with the calculated age as you done.
    Is there any easy way to make groupings on all that are the age of 10 etc.

    I have automated the document as we will have more people in all the time so I need automated groupings as well.

    Any suggestions?

    /Jacob
  • To post as a guest, your comment is unpublished.
    mario · 5 years ago
    @Krista Krista Check your E13 Column it must be blank, thats why you get 115 Years, change e13 to correct column number
  • To post as a guest, your comment is unpublished.
    Thom h · 5 years ago
    @Atomicpetro Swap the reference to cell b1 with =date then you build the date with three values: year, month and day. You reference b1 add the year then you'll just have to put 01 as the year and month. Or you could steal the dates from cell b2 using =month and =day