+ Reply to Thread
Results 1 to 4 of 4

How do I calculate hours beyond 23:59:59..!!

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    How do I calculate hours beyond 23:59:59..!!

    Hi

    I am trying to enter a formula that will calculate, in hours, minutes and seconds, that will give me the duration between 2 incidents.
    Example:

    Start time 22:00:00 and End time of 04:30:30

    The time difference between the incidents is 06:30:30 but I cannot get it to display correctly.
    I then need to add up all the duration's between incidents and reformat to minutes only (which i have done by *1440) on another document

    Can anyone please help with time calculation.
    P.s I really dont want to reformat everything to incorporate dates too, just want it to recognize calculated duration's beyond the 24hr period

    Thanks
    Mark

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How do I calculate hours beyond 23:59:59..!!

    =MOD(B1-A1,1) where a1 is start time b1 end time
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    01-08-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How do I calculate hours beyond 23:59:59..!!

    Love your work!
    Works perfectly. Thanks for the assistance!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: How do I calculate hours beyond 23:59:59..!!

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Calculate hours with predefined Working Hours and Weekend Hours
    By garciapliz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-05-2013, 11:17 AM
  2. Replies: 7
    Last Post: 03-31-2013, 03:09 PM
  3. Replies: 2
    Last Post: 03-02-2013, 10:57 AM
  4. Replies: 4
    Last Post: 02-12-2013, 07:01 AM
  5. Replies: 2
    Last Post: 02-11-2013, 02:26 PM

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