+ Reply to Thread
Results 1 to 6 of 6

age formula

  1. #1
    Registered User
    Join Date
    05-12-2006
    Posts
    2

    age formula

    Can any one help me figure out if it is possible to have a cell reflect an age based on a date in another cell?
    For example:
    cell A3 would equal the age of a person based on the person's birthdate in cell B3 ... How do I get cell A3 to show the age?

    Thanks for any help!!

  2. #2
    Niek Otten
    Guest

    Re: age formula

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

    --
    Kind regards,

    Niek Otten

    "Rhiemma" <[email protected]> wrote in message
    news:[email protected]...
    |
    | Can any one help me figure out if it is possible to have a cell reflect
    | an age based on a date in another cell?
    | For example:
    | cell A3 would equal the age of a person based on the person's birthdate
    | in cell B3 ... How do I get cell A3 to show the age?
    |
    | Thanks for -any- help!!
    |
    |
    | --
    | Rhiemma
    | ------------------------------------------------------------------------
    | Rhiemma's Profile: http://www.excelforum.com/member.php...o&userid=34386
    | View this thread: http://www.excelforum.com/showthread...hreadid=541683
    |



  3. #3
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    With the birthdate in cell A1, use this formula:

    =ROUNDDOWN((TODAY()-A1)/365,0)

    Format your cell as General with no decimal places to return the Age in full years.

    Does this work for you?

    Bruce
    Bruce
    The older I get, the better I used to be.
    USA

  4. #4
    Niek Otten
    Guest

    Re: age formula

    This doesn't account for leap years. For an older person you could easily be 20 days off.

    --
    Kind regards,

    Niek Otten

    "swatsp0p" <[email protected]> wrote in message
    news:[email protected]...
    |
    | With the birthdate in cell A1, use this formula:
    |
    | =ROUNDDOWN((TODAY()-A1)/365,0)
    |
    | Format your cell as General with no decimal places to return the Age in
    | full years.
    |
    | Does this work for you?
    |
    | Bruce
    |
    |
    | --
    | swatsp0p
    |
    |
    | ------------------------------------------------------------------------
    | swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
    | View this thread: http://www.excelforum.com/showthread...hreadid=541683
    |



  5. #5
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Point taken, Nick. Change the formula to:

    =ROUNDDOWN((TODAY()-A1)/365.25,0) takes care of the leap year issue.

    DATEDIF requires TWO dates, OP wanted to use just ONE date. OP also didn't indicate how detailed they wanted the response. My answer gives YEARS only...not likely to be negatively impacted by leap years in most people's lifetime.

    If OP wants age in years, months, days...then your answer is the way to go.

    Cheers!

    Bruce

  6. #6
    Registered User
    Join Date
    05-12-2006
    Posts
    2

    Thumbs up

    That did the trick! Thanks!!

+ 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