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

Thread: Excel Field Conversion

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

    Default

    Is it possible to convert a birthdate (1927-06-26) in this format and make it the age of the person? Hopeful for an good answer???I've tried all I know to do...

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    =DATEDIF(A1,TODAY(),"Y") where your birthdate is entered into cell A1.

  3. #3
    Board Regular
    Join Date
    May 2002
    Location
    Dallas
    Posts
    366
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    This is a little crude, but it may get you close enough to what you need:

    With the original date (1927-06-26) in, say cell A1, you can use:

    =today()-A1

    to get the total number of ~days~ old the person is (you have to format this as a numerical value). If you then divide this by 365:

    =(today()-A1)/365

    , you get the total number of ~whole~ years old the person is....leap years are a bit trickier, and I'm not sure how to account for those

    Hope that helps.
    ~Thomas

    ********
    Edit: guess someone beat me to it with a better solution
    ********

    [ This Message was edited by: Thomas on 2002-05-09 13:59 ]

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

    Default

    thank you so much; that worked...

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
  •