+ Reply to Thread
Results 1 to 7 of 7

Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

  1. #1
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

    I am logging the total hours for each week for three consecutive weeks for my techs and would like to see if any of them had overtime.The regular hours is based on 40 hrs per week and should total 120 hours for the three week period if they worked all day each week. I would like to reflect any overtime if they worked over 120 hours in the "Overtime Hours" in Column "K". I have tried using "SUMIF" but I can't get it to only show what exceeds the regular 120 hours. Please see "K4" on the attached file. Does anyone know how to make this work?
    Attached Files Attached Files

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

    How about:

    Please Login or Register  to view this content.
    That will subtract 120 from the total worked hours and take the higher of that or zero - eg, if they work 120 hours or less, it will return 0 for their overtime hours.

    If you need to do it on a weekly basis, then something like this:
    Please Login or Register  to view this content.
    (Note that's an array formula, that has to be entered with CTRL+SHIFT+ENTER not just ENTER key).

    That will return 2.5 hours, because employee #4 worled 42.5 hours in week 3, and 40 hours-or-less in weeks 1 and 2.

    Well, which approach you take will depend on what your contractual obligations re: overtime pay are.

  3. #3
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

    The first recommendation "=MAX(G4-$K$2,0)" works perfect! Thanks so much!!

  4. #4
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

    I need to track hours monthly instead of only three weeks. I need the Weekly totals to Max at 40 and any overtime time to roll over to the "Overtime Hours" column. Can anyone tell me how to fix this for "C7, D7"?
    Attached Files Attached Files

  5. #5
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

    Column C is your input data, the total hours worked per person. I would recommend that you don't change it, and leave it "total hours worked" with overtime hours specifically called out in column D.

    Right now you have "Total Regular Hours" in column M and "Total Overtime Hours" in Column N.

    M3=SUM(C3,E3,G3,I3)
    N3=SUM(D3,F3,H3,J3,L3)

    All you have to do to make M3 the "Total regular hours" instead of "total of all hours" is this:

    M3=SUM(C3,E3,G3,I3)-N3

    Subtract the overtime hours from the total hours.

  6. #6
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

    OK - I see what you are saying and that will work, thanks! :-)

  7. #7
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Calculating Overtime based on 40 Hr Work Week Over 3 Week Period

    Thanks again for your help with this, much appreciated!

+ 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] Calculating overtime in Excel for over 40 hrs per week
    By mike4000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2013, 06:16 AM
  2. Replies: 0
    Last Post: 01-21-2013, 08:46 AM
  3. How to: identify repeat offenders within a 3 week period (week per week basis)
    By Heloc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2012, 12:43 AM
  4. Replies: 8
    Last Post: 07-06-2012, 12:24 AM
  5. [SOLVED] Calculating a Date Based on Year, Week Number and Day of the Week
    By amy in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 11:42 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