+ Reply to Thread
Results 1 to 3 of 3

date difference calculation

  1. #1
    Registered User
    Join Date
    10-19-2009
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    27

    date difference calculation

    hi i am calculate the two dates difference and divided by 365 the out put is wrong
    Please Login or Register  to view this content.

    one date is 11/10/2009
    two date is 11/26/2009

    diff= (two- one)/365

    output is 0.0438 but it showing 4.38 why?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: date difference calculation

    The number is being displayed in Scientific notation (the output is correct).

    If you want to display to 2 decimals encase the output in a Format function, eg:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-19-2009
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: date difference calculation

    thanks DonkeyOte

+ 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