+ Reply to Thread
Results 1 to 7 of 7

Calculate the age of a person on their next birthday

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Calculate the age of a person on their next birthday

    I want to calculate the age of a person on their next birthday. I attached a sample.

    I appreciate any help.

    Thanks,
    Nick
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Calculate the age of a person on their next birthday

    Hello,

    Maybe something like this:

    Please Login or Register  to view this content.
    abousetta

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Calculate the age of a person on their next birthday

    Hello,

    maybe

    =IF(DATE(YEAR(TODAY()),MONTH(C3),DAY(C3))<TODAY(),YEAR(TODAY())+1-YEAR(C3),YEAR(TODAY())-YEAR(C3))

    Depending on how you want to handle the situation when today = the birth day, then you may want to change the first < to <=

    cheers,

  4. #4
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Calculate the age of a person on their next birthday

    This maybe a better approximation from my previous post:

    Please Login or Register  to view this content.
    abousetta

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Calculate the age of a person on their next birthday

    @abousetta, if my next birthday is next month, your first formula makes me one year older than I am and the second formula makes me one year younger.

  6. #6
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Calculate the age of a person on their next birthday

    There must be something more elegant but this seems to work

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Calculate the age of a person on their next birthday

    Thanks for the help. I will test those out.

+ 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