+ Reply to Thread
Results 1 to 4 of 4

Thread: Count the hours

  1. #1
    Registered User
    Join Date
    01-13-2012
    Location
    SLD
    MS-Off Ver
    Excel 2010
    Posts
    49

    Count the hours

    Hi all,
    I have this problem:

    I want to count the total hours of running time for a machine, I have the Start/Stop time and date then what formular I should use?


    A B C
    1 Start 2/25/10 23:15 PM
    2 Stop 1/10/12 4:12 AM
    3 Total hour: ????????????
    Thanksssssssssss,

  2. #2
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    W Europe
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    456

    Re: Count the hours

    If you cells are containing real dates and real times try =B2+C2-B1-C1 and format as [h]:mm
    Cheers - THE WARNING I RECEIVED WAS NOT JUSTIFIED

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    1,957

    Re: Count the hours

    So long as B1 and B2 are both valid dates and C1 and C2 are both valid times then in B3 you can use the formula:

    =((B2+C2)-(B1+C1))*24

  4. #4
    Registered User
    Join Date
    01-13-2012
    Location
    SLD
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Count the hours

    Both of you gave me exactly what I need, I did not think that can be that simple TKS a bunch!!!!!!

+ 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.2.0