+ Reply to Thread
Results 1 to 4 of 4

Tracking work hours and calculating OT with multiple shifts/pay rates

  1. #1
    Registered User
    Join Date
    08-13-2021
    Location
    wisconsin
    MS-Off Ver
    office 365
    Posts
    2

    Tracking work hours and calculating OT with multiple shifts/pay rates

    Still relatively new to advanced functions in excel. I work in a machine shop that runs 24/7. I'm trying to create a by-weekly time card calculator for multiple shifts/pay rates with OT after 40 hours/week. I'm also calculating hours using the 7 minute rule. I have things figured out for rounding time with the 7 minute rule, calculating hours per day and figuring pay rates with shift premiums and OT pay. I have a column of cells noted 1 or 2 depending on my shift for the day. What I can't seem to figure out is how to total the hours to get straight pay for each shift then OT for each shift after 40 total hours. I work 12 or more hours per shift both days and nights bouncing from one to the other during the week.

    Example:
    Sun 5pm-6am
    Mon 5pm-6am
    Tue 5:30 pm-7am
    Wed 6pm-6am
    Thur off
    Fri 5:30am-6pm
    Sat 6am-6pm

    totals should be
    40 nights
    11.5 nights OT
    0 days
    24.5 day OT
    for a total of 76 hours overall

    I just can't figure out how to get there.
    Any help would be awesome.

    Thanks in advance

  2. #2
    Registered User
    Join Date
    08-13-2021
    Location
    wisconsin
    MS-Off Ver
    office 365
    Posts
    2

    Re: Tracking work hours and calculating OT with multiple shifts/pay rates

    I forgot to mention I have separate rates for holidays and vacation. I have them noted as 3 and 4 respectively in the cells in the shift identifier column. Where holidays count towards the 40 hours before OT but vacation does not.
    Attached Files Attached Files
    Last edited by jlordson; 08-14-2021 at 01:58 AM.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Tracking work hours and calculating OT with multiple shifts/pay rates

    Hello jlordson and Welcome to Excel Forum.
    The following seems to work for the file provided, however I imagine that it will need refinement.
    Five helper columns are added to each week.
    The first helper column calculates the total hours using: =SUM(D$3:D3)
    The second and fourth calculate the regular hours per shift using: =IF(E3=G$2,MIN(SUMIFS(D$3:D3,E$3:E3,E3),40),G2)
    The third and fifth calculate the overtime hours per shift using: =IF(E3=H$2,F3-G3,0)
    The formulas for the weekly totals are similar to: =IFERROR(MAX(IFS(G2=1,G3:G9,I2=1,I3:I9)),0)
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Tracking work hours and calculating OT with multiple shifts/pay rates

    jlordson, is OT only applicable after a certain hours of work in a day/night?

+ 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 multiple pay rates based on time of day worked, not number of hours worked
    By vdbonce in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-04-2020, 02:30 AM
  2. Calculating regular hours based on to 2 different pay Rates
    By Clead23 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-24-2019, 05:22 AM
  3. [SOLVED] Calculating no of hours at day or nighttime for shifts
    By Aknot in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-19-2017, 12:40 PM
  4. Replies: 8
    Last Post: 03-24-2016, 08:13 PM
  5. [SOLVED] Calculating working shifts between two hours
    By zbor in forum Excel General
    Replies: 6
    Last Post: 12-20-2010, 10:22 AM
  6. Replies: 0
    Last Post: 08-23-2005, 12:36 PM
  7. [SOLVED] A function that separates hours worked in work shifts that overlap
    By Katybug1964 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2005, 05:06 PM

Tags for this Thread

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