+ Reply to Thread
Results 1 to 5 of 5

Calculat years married or age of someone on today's date

  1. #1
    Chersie
    Guest

    Calculat years married or age of someone on today's date

    I want a cell to give how old someone is or how long they have been married
    today. It has to show that a child born on 2/20/2000 is 4 years old UNTIL
    2/20/2005. That day, it would change to 5.

    It seems that my calculations round up or something and therefore the
    information is not accurate but shows them older earlier than their actual
    birthdate. I am doing this as well for anniversaries, employment, etc.

    Any info will be great appreciated!

    Thanks,
    Cheri

  2. #2
    JE McGimpsey
    Guest

    Re: Calculat years married or age of someone on today's date

    one way:

    =DATEDIF(A1,TODAY(),"y")

    See

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

    In article <8064A0A6-D15D-4442-B4E8-B834F78C4034@microsoft.com>,
    "Chersie" <Chersie@discussions.microsoft.com> wrote:

    > I want a cell to give how old someone is or how long they have been married
    > today. It has to show that a child born on 2/20/2000 is 4 years old UNTIL
    > 2/20/2005. That day, it would change to 5.
    >
    > It seems that my calculations round up or something and therefore the
    > information is not accurate but shows them older earlier than their actual
    > birthdate. I am doing this as well for anniversaries, employment, etc.
    >
    > Any info will be great appreciated!


  3. #3
    Arvi Laanemets
    Guest

    Re: Calculat years married or age of someone on today's date

    Hi

    =DATEDIF(StartDate,EndDate,"Y") does return the number of full years between
    2 dates.
    =DATEDIF(StartDate,EndDate,"YM") does return the number of full months over
    full years.
    =DATEDIF(StartDate,EndDate,"MD") does return the number of days over full
    months.

    Combined formula:
    =TRIM(IF(DATEDIF(StartDate,EndDate,"Y")=0,"",DATEDIF(StartDate,EndDate,"Y")
    & " year" & IF(DATEDIF(StartDate,EndDate,"Y")=1,"s","")) &
    IF(DATEDIF(StartDate,EndDate,"YM")=0,"", " " &
    DATEDIF(StartDate,EndDate,"YM") & " month" &
    IF(DATEDIF(StartDate,EndDate,"YM")=1,"s","")) &
    IF(DATEDIF(StartDate,EndDate,"MD")=0,"", " " &
    DATEDIF(StartDate,EndDate,"MD") & " day" &
    IF(DATEDIF(StartDate,EndDate,"MD")=1,"s","")))


    Arvi Laanemets


    "Chersie" <Chersie@discussions.microsoft.com> wrote in message
    news:8064A0A6-D15D-4442-B4E8-B834F78C4034@microsoft.com...
    > I want a cell to give how old someone is or how long they have been

    married
    > today. It has to show that a child born on 2/20/2000 is 4 years old UNTIL
    > 2/20/2005. That day, it would change to 5.
    >
    > It seems that my calculations round up or something and therefore the
    > information is not accurate but shows them older earlier than their actual
    > birthdate. I am doing this as well for anniversaries, employment, etc.
    >
    > Any info will be great appreciated!
    >
    > Thanks,
    > Cheri




  4. #4
    Chersie
    Guest

    Re: Calculat years married or age of someone on today's date

    You guys are awesome!!!! Thank you so much!

    "Arvi Laanemets" wrote:

    > Hi
    >
    > =DATEDIF(StartDate,EndDate,"Y") does return the number of full years between
    > 2 dates.
    > =DATEDIF(StartDate,EndDate,"YM") does return the number of full months over
    > full years.
    > =DATEDIF(StartDate,EndDate,"MD") does return the number of days over full
    > months.
    >
    > Combined formula:
    > =TRIM(IF(DATEDIF(StartDate,EndDate,"Y")=0,"",DATEDIF(StartDate,EndDate,"Y")
    > & " year" & IF(DATEDIF(StartDate,EndDate,"Y")=1,"s","")) &
    > IF(DATEDIF(StartDate,EndDate,"YM")=0,"", " " &
    > DATEDIF(StartDate,EndDate,"YM") & " month" &
    > IF(DATEDIF(StartDate,EndDate,"YM")=1,"s","")) &
    > IF(DATEDIF(StartDate,EndDate,"MD")=0,"", " " &
    > DATEDIF(StartDate,EndDate,"MD") & " day" &
    > IF(DATEDIF(StartDate,EndDate,"MD")=1,"s","")))
    >
    >
    > Arvi Laanemets
    >
    >
    > "Chersie" <Chersie@discussions.microsoft.com> wrote in message
    > news:8064A0A6-D15D-4442-B4E8-B834F78C4034@microsoft.com...
    > > I want a cell to give how old someone is or how long they have been

    > married
    > > today. It has to show that a child born on 2/20/2000 is 4 years old UNTIL
    > > 2/20/2005. That day, it would change to 5.
    > >
    > > It seems that my calculations round up or something and therefore the
    > > information is not accurate but shows them older earlier than their actual
    > > birthdate. I am doing this as well for anniversaries, employment, etc.
    > >
    > > Any info will be great appreciated!
    > >
    > > Thanks,
    > > Cheri

    >
    >
    >


  5. #5
    Chersie
    Guest

    RE: Calculat years married or age of someone on today's date

    You guys are awesome! Thank you so much!!!

    "Chersie" wrote:

    > I want a cell to give how old someone is or how long they have been married
    > today. It has to show that a child born on 2/20/2000 is 4 years old UNTIL
    > 2/20/2005. That day, it would change to 5.
    >
    > It seems that my calculations round up or something and therefore the
    > information is not accurate but shows them older earlier than their actual
    > birthdate. I am doing this as well for anniversaries, employment, etc.
    >
    > Any info will be great appreciated!
    >
    > Thanks,
    > Cheri


+ 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