+ Reply to Thread
Results 1 to 7 of 7

How do I work out people's exact ages from their Dates of Birth?

  1. #1
    krakowba
    Guest

    How do I work out people's exact ages from their Dates of Birth?

    I want to develop a quick list of friends and family's ages. How do I get
    Excel to work out someone's age from their date of birth.

    I've tried using the Year function but that seems to round up to the nearest
    full year - so someone who is say 21 will be shown as 22 as it merely
    subtracts in whole years.

  2. #2
    Guest

    Re: How do I work out people's exact ages from their Dates of Birth?

    Hi

    Have a look here:
    http://www.cpearson.com/excel/datedif.htm#Age

    Andy.

    "krakowba" <[email protected]> wrote in message
    news:[email protected]...
    >I want to develop a quick list of friends and family's ages. How do I get
    > Excel to work out someone's age from their date of birth.
    >
    > I've tried using the Year function but that seems to round up to the
    > nearest
    > full year - so someone who is say 21 will be shown as 22 as it merely
    > subtracts in whole years.




  3. #3
    RagDyeR
    Guest

    Re: How do I work out people's exact ages from their Dates of Birth?

    Use the Datedif function, which is undocumented, except in XL2K.

    Find instructions at Chip Pearson's site:

    http://www.cpearson.com/excel/datedif.htm
    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================


    "krakowba" <[email protected]> wrote in message
    news:[email protected]...
    I want to develop a quick list of friends and family's ages. How do I get
    Excel to work out someone's age from their date of birth.

    I've tried using the Year function but that seems to round up to the nearest
    full year - so someone who is say 21 will be shown as 22 as it merely
    subtracts in whole years.



  4. #4
    Sloth
    Guest

    RE: How do I work out people's exact ages from their Dates of Birth?

    =INT((A2-A1)/365)
    and
    =DATEDIF(A1,A2,"Y")
    will both return the number of years between two dates. A1 is the
    birthdate, and A2 is TODAY(). You might need to reformat the cell as general
    after you put in the formula (it might try and output as a date otherwise).

    You can also use the DATEDIF to get something like
    22 years and 5 months
    with this formula
    =DATEDIF(A1,A2,"Y")&" years, and "&DATEDIF(A1,A2,"YM")&" months."


    "krakowba" wrote:

    > I want to develop a quick list of friends and family's ages. How do I get
    > Excel to work out someone's age from their date of birth.
    >
    > I've tried using the Year function but that seems to round up to the nearest
    > full year - so someone who is say 21 will be shown as 22 as it merely
    > subtracts in whole years.


  5. #5
    Forum Contributor
    Join Date
    08-28-2005
    Posts
    298

    RE: How do I work out people's exact ages from their Dates of Birth?

    hi

    another try!

    let us assume the date of birth is in A1

    enter the formula in A2

    =DATEDIF(A1,TODAY(),"Y")&"YEARS,"&DATEDIF(A1,TODAY(),"YM")&"MONTHS,"&DATEDIF(A1,TODAY(),"MD")&"DAYS."

    is it ok?

    -via135

  6. #6
    krakowba
    Guest

    Re: How do I work out people's exact ages from their Dates of Birt

    Thanks - works perfectly!

    "via135" wrote:

    >
    > hi
    >
    > another try!
    >
    > let us assume the date of birth is in A1
    >
    > enter the formula in A2
    >
    > =DATEDIF(A1,TODAY(),"Y")&"YEARS,"&DATEDIF(A1,TODAY(),"YM")&"MONTHS,"&DATEDIF(A1,TODAY(),"MD")&"DAYS."
    >
    > is it ok?
    >
    > -via135
    >
    >
    > --
    > via135
    > ------------------------------------------------------------------------
    > via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
    > View this thread: http://www.excelforum.com/showthread...hreadid=503394
    >
    >


  7. #7
    krakowba
    Guest

    RE: How do I work out people's exact ages from their Dates of Birt

    Thank you - and also thanks to everyone else who responded to my post. I've
    tried out the advice and it works fine.

    "Sloth" wrote:

    > =INT((A2-A1)/365)
    > and
    > =DATEDIF(A1,A2,"Y")
    > will both return the number of years between two dates. A1 is the
    > birthdate, and A2 is TODAY(). You might need to reformat the cell as general
    > after you put in the formula (it might try and output as a date otherwise).
    >
    > You can also use the DATEDIF to get something like
    > 22 years and 5 months
    > with this formula
    > =DATEDIF(A1,A2,"Y")&" years, and "&DATEDIF(A1,A2,"YM")&" months."
    >
    >
    > "krakowba" wrote:
    >
    > > I want to develop a quick list of friends and family's ages. How do I get
    > > Excel to work out someone's age from their date of birth.
    > >
    > > I've tried using the Year function but that seems to round up to the nearest
    > > full year - so someone who is say 21 will be shown as 22 as it merely
    > > subtracts in whole years.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1