+ Reply to Thread
Results 1 to 8 of 8

Age from birthdate

  1. #1
    Nev
    Guest

    Age from birthdate

    Given the birthdate how can I compute the current age and display as yrs,
    months, days? I'd like to see an AGE function added to the standard list of
    builtin functions.

  2. #2
    Biff
    Guest

    Re: Age from birthdate

    See this:

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

    Biff

    "Nev" <[email protected]> wrote in message
    news:[email protected]...
    > Given the birthdate how can I compute the current age and display as yrs,
    > months, days? I'd like to see an AGE function added to the standard list
    > of
    > builtin functions.




  3. #3
    Nev
    Guest

    Re: Age from birthdate

    Thanks, I should have searched around more before posting the question. It's
    curious why Microsoft haven't documented this function, seems like there's
    been many enquiries on this topic. I think I'd still like to see an AGE
    function or at least some detail in help about DATEDIF

    "Biff" wrote:

    > See this:
    >
    > http://cpearson.com/excel/datedif.htm
    >
    > Biff
    >
    > "Nev" <[email protected]> wrote in message
    > news:[email protected]...
    > > Given the birthdate how can I compute the current age and display as yrs,
    > > months, days? I'd like to see an AGE function added to the standard list
    > > of
    > > builtin functions.

    >
    >
    >


  4. #4
    Peo Sjoblom
    Guest

    Re: Age from birthdate

    Most likely because it will give an incorrect answer during certain
    conditions

    http://tinyurl.com/j5hun





    --

    Regards,

    Peo Sjoblom

    Excel 95 - Excel 2007
    Northwest Excel Solutions
    www.nwexcelsolutions.com
    "It is a good thing to follow the first law of holes;
    if you are in one stop digging." Lord Healey


    "Nev" <[email protected]> wrote in message
    news:[email protected]...
    > Thanks, I should have searched around more before posting the question.
    > It's
    > curious why Microsoft haven't documented this function, seems like there's
    > been many enquiries on this topic. I think I'd still like to see an AGE
    > function or at least some detail in help about DATEDIF
    >
    > "Biff" wrote:
    >
    >> See this:
    >>
    >> http://cpearson.com/excel/datedif.htm
    >>
    >> Biff
    >>
    >> "Nev" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > Given the birthdate how can I compute the current age and display as
    >> > yrs,
    >> > months, days? I'd like to see an AGE function added to the standard
    >> > list
    >> > of
    >> > builtin functions.

    >>
    >>
    >>




  5. #5
    Registered User
    Join Date
    11-13-2005
    Location
    Moscow
    Posts
    41

    Age Yrs,Mth, Days

    Hello Nev
    I am no expert but the below formula is what I use to determin someones age in yrs,mths,days. M2 is their bithdate where as N2 is equal to now.
    I hope this works for you as I do not have any problems at all.

    =DATEDIF(M2;N2;"y") & " y; " & DATEDIF(M2;N2;"ym") & " m; " & DATEDIF(M2;N2;"md") & " d"

    If the person is 25 the result will look something like this: 25y;5m;21d

    Oh and sorry but you might have to change the ; to , depending on which version of "Office" you are using.

    Paul Maynard
    Moscow
    Russia
    Last edited by paulrm906; 06-11-2006 at 02:38 AM.

  6. #6
    Nev
    Guest

    Re: Age from birthdate

    Hmm, this is not good. I'd rather Microsoft disable a function than have it
    return an incorrect result, however obscure. Does the VBA DATEDIFF also
    return incorrect results?

    What is the Microsoft solution for providing age as returned by this
    function (most the time)?

    "Peo Sjoblom" wrote:

    > Most likely because it will give an incorrect answer during certain
    > conditions
    >
    > http://tinyurl.com/j5hun
    >
    >
    >
    >
    >
    > --
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > Excel 95 - Excel 2007
    > Northwest Excel Solutions
    > www.nwexcelsolutions.com
    > "It is a good thing to follow the first law of holes;
    > if you are in one stop digging." Lord Healey
    >
    >
    > "Nev" <[email protected]> wrote in message
    > news:[email protected]...
    > > Thanks, I should have searched around more before posting the question.
    > > It's
    > > curious why Microsoft haven't documented this function, seems like there's
    > > been many enquiries on this topic. I think I'd still like to see an AGE
    > > function or at least some detail in help about DATEDIF
    > >
    > > "Biff" wrote:
    > >
    > >> See this:
    > >>
    > >> http://cpearson.com/excel/datedif.htm
    > >>
    > >> Biff
    > >>
    > >> "Nev" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >> > Given the birthdate how can I compute the current age and display as
    > >> > yrs,
    > >> > months, days? I'd like to see an AGE function added to the standard
    > >> > list
    > >> > of
    > >> > builtin functions.
    > >>
    > >>
    > >>

    >
    >
    >


  7. #7
    MartinW
    Guest

    Re: Age from birthdate

    Hi Nev,

    I don't know if I'm missing something here but, to me, all this seems to be
    over-complicating something that is pretty simple.

    A1: =TODAY()
    A2: "your birthday"
    A3: =A1-A2

    Format A3 as yy:mm:dd

    Works for me
    Regards
    Martin




  8. #8
    Forum Contributor
    Join Date
    08-28-2005
    Posts
    301

    age from brithdate!

    hi Nev!


    assuming that your are using win2000
    why don't you try

    ="Age is "&DATEDIF(C8,TODAY(),"y")&" Years, "&DATEDIF(C8,TODAY(),"ym")&" Months and "&DATEDIF(C8,TODAY(),"md")&" Days"

    where C8 holds your date of birth

    -via135

    Quote Originally Posted by Nev
    Hmm, this is not good. I'd rather Microsoft disable a function than have it
    return an incorrect result, however obscure. Does the VBA DATEDIFF also
    return incorrect results?

    What is the Microsoft solution for providing age as returned by this
    function (most the time)?

    "Peo Sjoblom" wrote:

    > Most likely because it will give an incorrect answer during certain
    > conditions
    >
    > http://tinyurl.com/j5hun
    >
    >
    >
    >
    >
    > --
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > Excel 95 - Excel 2007
    > Northwest Excel Solutions
    > www.nwexcelsolutions.com
    > "It is a good thing to follow the first law of holes;
    > if you are in one stop digging." Lord Healey
    >
    >
    > "Nev" <[email protected]> wrote in message
    > news:[email protected]...
    > > Thanks, I should have searched around more before posting the question.
    > > It's
    > > curious why Microsoft haven't documented this function, seems like there's
    > > been many enquiries on this topic. I think I'd still like to see an AGE
    > > function or at least some detail in help about DATEDIF
    > >
    > > "Biff" wrote:
    > >
    > >> See this:
    > >>
    > >> http://cpearson.com/excel/datedif.htm
    > >>
    > >> Biff
    > >>
    > >> "Nev" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >> > Given the birthdate how can I compute the current age and display as
    > >> > yrs,
    > >> > months, days? I'd like to see an AGE function added to the standard
    > >> > list
    > >> > of
    > >> > builtin functions.
    > >>
    > >>
    > >>

    >
    >
    >

+ 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