+ Reply to Thread
Results 1 to 7 of 7

Detecting Someone's Age from Date of Birth

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Detecting Someone's Age from Date of Birth

    Hi

    I'm trying to set up a sheet that will show someone's age (in years only) from the date of birth.

    I can't make it work correctly when it's close to the birthday.

    See sample attached.

    Thanks, Paul
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: Detecting Someone's Age from Date of Birth

    maybe datedif like so...
    =DATEDIF(G4,G7,"y")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Detecting Someone's Age from Date of Birth

    Quote Originally Posted by Sam Capricci View Post
    maybe datedif like so...
    =DATEDIF(G4,G7,"y")
    Thanks. Seems to do the job.

    I've never heard of DATEDIF before...

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Detecting Someone's Age from Date of Birth

    Another option:
    Formula: copy to clipboard
    =INT(YEARFRAC(G4,G7))

  5. #5
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Detecting Someone's Age from Date of Birth

    Quote Originally Posted by HansDouwe View Post
    Another option:
    Formula: copy to clipboard
    =INT(YEARFRAC(G4,G7))
    Works too. Thanks.

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Detecting Someone's Age from Date of Birth

    You are Welcome! Thanks for the feedback. Glad to have helped.

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: Detecting Someone's Age from Date of Birth

    You're welcome, glad I could help AND thank you for the rep!
    Datedif is an older formula that microsoft keeps active to support older workbooks from Lotus 1-2-3.
    https://support.microsoft.com/en-us/...d-8b32a451b35c

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Direct formula to looking for data according date of birth and report date
    By dolphino in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2023, 04:56 AM
  2. [SOLVED] Calculate Seniority Number Based on Date Of Birth and Date of Joining
    By deepanc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-20-2019, 11:28 AM
  3. Replies: 2
    Last Post: 11-03-2014, 10:29 AM
  4. Work out Term of Birth by Date of Birth
    By sezza79 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2014, 11:06 AM
  5. Formulas Calculating Age based on Date of Birth & Date of Death
    By MELLOW YELLOW in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-07-2014, 03:27 PM
  6. How to find the date of retirement if date of birth is 1-April-1980
    By mmashah in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-30-2012, 03:25 PM
  7. Converting Date of Birth to 'Term of Birth'
    By Kungfusal in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-26-2009, 04:12 AM

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