+ Reply to Thread
Results 1 to 5 of 5

date time

  1. #1
    Registered User
    Join Date
    06-02-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    1

    Post date time

    i m an accountant in a office
    i want to calculate day, month and year between a specific dates

    ex
    how many day, month and year between 1/1/2000 to 5/7/2004

    plz help

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: date time

    Try
    Please Login or Register  to view this content.
    were A1 = start date and B1=end date

  3. #3
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544

    Re: date time

    Try the following formula :

    =ROUND.DOWN((B1-A1)/365;0) & " years, " & ROUND.DOWN(MOD((B1-A1);365)/30;0) & " months, " & (B1-A1)-(ROUND.DOWN((B1-A1)/365;0)*365)-(ROUND.DOWN(MOD((B1-A1);365)/30;0)*30) & " days"

    As I'm using a Dutch Office version I translated it manually. he ROUND.DOWN might be without a dot.

    Success
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: date time

    WinteE

    for your info the Dutch equivalent of DATEDIF is DATUMVERSCHIL

    Though it still works it is not documented in XL help anymore since XL2000 ( I believe)

  5. #5
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544

    Re: date time

    Thanks arthurbr !

+ 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