+ Reply to Thread
Results 1 to 3 of 3

Time issue

Hybrid View

  1. #1
    Registered User
    Join Date
    06-27-2005
    Posts
    25

    Time issue

    Ok,
    I'm having a problem with time.

    Lets says:

    Mon Tue Wed Thurs Fri Total hrs
    8 am 3 pm no work NW NW 5 pm- 3am -number

    On my total hours I get a minus total number. the problem is in the calculation on Fri. When it goes on to the next day my hours doesn't come out right.

    Here is my file.
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    The problem occurs because yuor timespan has gone past midnight.

    Try making amendments like

    (IF(L3>K3,(L3-K3)*24,(L3+1-K3)*24))
    to your formula

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Try this in Q3

    =MOD(D3-C3,1)+MOD(F3-E3,1)+MOD(H3-G3,1)+MOD(J3-I3,1)+MOD(L3-K3,1)+MOD(N3-M3,1)+MOD(P3-O3,1)-AI3 and custom format to [hh]:ss

    Then in AI3 change to this

    =SUM(U3:AA3) and custom format to [hh]:ss
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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