+ Reply to Thread
Results 1 to 3 of 3

NUMBER OF YEARS BETWEEN TWO DATES - HOW TO GET

Hybrid View

  1. #1
    AJAY KUMAR DIXIT
    Guest

    NUMBER OF YEARS BETWEEN TWO DATES - HOW TO GET

    How can I calculate or know the exact age(Number of years) between two dates

  2. #2
    Gary''s Student
    Guest

    RE: NUMBER OF YEARS BETWEEN TWO DATES - HOW TO GET

    Use DATEDIF():

    if A1 and A2 contain:
    1/15/1985
    12/31/2005

    then:
    =DATEDIF(A1,A2,"y") & " years, " & DATEDIF(A1,A2,"ym") & " months, " &
    DATEDIF(A1,A2,"md") & " days"

    will display:
    20 years, 11 months, 16 days

    --
    Gary's Student


    "AJAY KUMAR DIXIT" wrote:

    > How can I calculate or know the exact age(Number of years) between two dates


  3. #3
    Ardus Petus
    Guest

    Re: NUMBER OF YEARS BETWEEN TWO DATES - HOW TO GET

    =DATEDIF(A1,B1,"y")

    HTH
    --
    AP

    "AJAY KUMAR DIXIT" <AJAY KUMAR DIXIT@discussions.microsoft.com> a écrit dans
    le message de news: 77320314-8FA3-46B7-A2E0-45F2117113E2@microsoft.com...
    > How can I calculate or know the exact age(Number of years) between two
    > dates




+ 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