+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Difference between two Date Time Stamps

  1. #1
    Registered User
    Join Date
    05-15-2012
    Location
    Atlanta, Ga
    MS-Off Ver
    Excel 2007
    Posts
    2

    Difference between two Date Time Stamps

    Hello,

    I have been looking everywhere for a formula or something that can tell me the difference between two date time stamps in hours.

    Ex: 5/12/2012 12:00:00 PM and 5/13/2012 01:00:00 PM

    I would like it to return the value in hours.

    For the example above the answer would be 25:00:00

    Is this possible?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Difference between two Date Time Stamps

    =B1-A1 and format as [h]:mm:ss
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-15-2012
    Location
    Atlanta, Ga
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Difference between two Date Time Stamps

    Awesome....I had the [h]:mm:ss format for the dates and not the results! Thanks so much!!!! I knew it was something simple!

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Difference between two Date Time Stamps

    Start time - end time formatted as h

    didn't see shg's reply.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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