+ Reply to Thread
Results 1 to 6 of 6

SOM not counting below 0 for overtime

  1. #1
    Registered User
    Join Date
    05-26-2017
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    41

    SOM not counting below 0 for overtime

    Hi there,

    In my excelsheet i have on K225 a calculation of hours. =SOM(H225-I225-J225)
    My workweek has 40:00 hours, as stated in G225. But if i have overtime so in I225 as example a value of 24:00 the time in K225 becomes ######.

    Anyway to solve this or use it on another way?

    Second Question is in L225 i like to have something like =SOM(I225*75), but its not giving my back te result
    Attached Files Attached Files
    Last edited by IIIdefconIII; 07-20-2018 at 10:22 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,540

    Re: SOM not counting below 0 for overtime

    Excel will not calculate a negative time. Where in the worksheet is the offending formula?

    Here's what I see:

    Excel 2016 (Windows) 32 bit
    E
    F
    G
    H
    I
    J
    K
    224
    Klant Totaal Totaal Klanten Systrax Niet ingevuld
    225
    BUA
    0:20
    40:00
    13:20
    22:40
    4:00
    Sheet: Blad1
    Last edited by AliGW; 07-20-2018 at 10:21 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-26-2017
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    41

    Re: SOM not counting below 0 for overtime

    Its ok now, but if you change I225 to a higher total it gets messed up

    So H255-I255-J255 = K255. This 4:00 is the time that isnt filled in:
    Which we then see in:

    2018-07-20_16-38-04.png

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,540

    Re: SOM not counting below 0 for overtime

    As I said, Excel can't handle negative results in time calculations. You will have to find a different way of dealing with this.

  5. #5
    Registered User
    Join Date
    05-26-2017
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    41

    Re: SOM not counting below 0 for overtime

    Do you know any? I googled myself but couldnt find much,

    I copied the H3 som to H255, so when the work hours increase, the sum increases as well. but then i also get #####

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,540

    Re: SOM not counting below 0 for overtime

    Maybe your search terms were a bit off: https://www.google.co.uk/search?sour....0.x3c_zEbFJes

+ 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. Automatic counting of Staff in a given range of hours and their overtime
    By pahackerz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2015, 07:12 AM
  2. [SOLVED] Overtime per hour wage Counting Formula is not working in this Sheet
    By it_electronics2000 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-03-2014, 05:20 AM
  3. Overtime per hour wage Counting Formula is not working in this Sheet
    By it_electronics2000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-02-2014, 06:26 AM
  4. Overtime Counting Formula is not working in this Sheet
    By it_electronics2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-02-2014, 05:46 AM
  5. Counting overtime in seperate fields?
    By jxales in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 05-24-2013, 06:41 PM
  6. Counting overtime with a twist
    By polska21800 in forum Excel General
    Replies: 4
    Last Post: 02-05-2010, 03:17 PM
  7. Difficulties with counting overtime, double IF's
    By mako in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2007, 09:19 AM

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