Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: age calculation

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Cn someone please tell me how to subtract a properly formatted birthdate from 07/01/2002 to arrive at the person's actual age ? I would be very grateful. Thanks

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Las Vegas Nevada USA
    Posts
    239
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Just subtract one from the other.

    George

    Learn to listen. Opportunity sometimes knocks very softly.

  3. #3
    Board Regular sen_edp's Avatar
    Join Date
    Mar 2002
    Location
    Hellas
    Posts
    555
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    Board Regular
    Join Date
    Feb 2002
    Location
    Calgary, Alberta Canada
    Posts
    3,431
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default


    You can use Datedif. Datedif is in nearly all versions of Excel but it was only documented in Excel2000.

    With Date of Birth as a valid date and that cell named DOB use the formula below. Use a second date such as TODAY or the date that you cited (07/01/2002); note you can use cell references. If you want all the information in one cell with text, consider

    =DATEDIF(DOB,TODAY(),"Y")&" years, "&DATEDIF(DOB,TODAY(),"ym")& " months, and "&DATEDIF(DOB,TODAY(),"md") &" days"

    You can extract the sub parts and have each part in a separate cell.

    Note: There are some anomalies with the day calculations.


    [ This Message was edited by: Dave Patton on 2002-05-04 17:18 ]

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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