+ Reply to Thread
Results 1 to 3 of 3

Calculating overtime and double time using carryover hours from previous shift

Hybrid View

  1. #1
    Registered User
    Join Date
    05-21-2018
    Location
    DC
    MS-Off Ver
    2016
    Posts
    43

    Calculating overtime and double time using carryover hours from previous shift

    Hi all!

    I run payroll for concerts using a workbook I made a few years ago (with some help from you guys back then!) It's not uncommon for people to work 18-26 hours split over 3 shifts (Load In, Show Call, Load Out). I had it all running smoothly but now the contract includes Double Time pay. I have the LI Check In sheet working properly but can't nail down the correct formula for the SC Check In sheet or the LO Check In sheet.

    For the SC and LO Check In sheets I have a column that shows carry-over hours (from previous shifts), the formula should check that column and the Hours column (time worked on current shift) and do the following ruleset:
    If Hours + Carry-over are less than 8 then put Hours in Straight.
    If Hours + Carry-over are between 8 and 14, put Hours before 8 in Straight until 8 is reached, then remaining hours in OT up to 14.
    If remaining hours go past 14, put Hours between 8 and 14 in OT until 14 is reached, then remaining hours in DT.

    I've played around with formulas and helper columns and has various parts working but couldn't get it to work as a whole.

    Thanks in advance for any help and/or ideas!

    *Clean workbook attached
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    19,045

    Re: Calculating overtime and double time using carryover hours from previous shift

    On the SC Check In sheet the following formulas produce the expected output.
    1. For OT: =IFERROR(ROUND(IF(SUM([@[C/O]],[@Hours])>14,14-[@[C/O]],IF(SUM([@[C/O]],[@Hours])>8,SUM([@[C/O]],[@Hours])-8,[@Hours]-[@Straight])),2),"")
    2. For DT: =[@Hours]-SUM([@Straight],[@OT])
    On the LO Check In sheet only five expected outputs are given although there are six so I assume the five shown exclude Straight, OT and DT for John Smith 6
    1. For Straight: =IF([@[LO OUT]]="","",IF([@[Carry Hrs]]>=8,0,8-[@[Carry Hrs]]))
    2. For OT:
    Formula: copy to clipboard
    =IF([@[LO OUT]]="","",IF([@[Carry Hrs]]>=16,0,IF(SUM([@[LO Hours]],[@[Carry Hrs]])>=14,MAX(0,14-[@[Carry Hrs]]),IF(SUM([@[Carry Hrs]],[@[LO Hours]])>8,MIN([@[LO Hours]]-[@Straight],SUM([@[Carry Hrs]],[@[LO Hours]])-8)))))

    3. for DT: =IF(SUM([@[LO Hours]],[@[Carry Hrs]])<14,0,[@[LO Hours]]-SUM([@Straight],[@OT]))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    05-21-2018
    Location
    DC
    MS-Off Ver
    2016
    Posts
    43

    Re: Calculating overtime and double time using carryover hours from previous shift

    Thanks for the response JeteMC! Sorry for the delayed response, whole house got the flu. I'll play with it this week and hopefully it works. I'll update the post if it does.

    thanks again!!

+ 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. Calculating Regular Time, Overtime, Double Time
    By SoCalRizzy in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-29-2023, 11:54 PM
  2. Timesheet functions for normal hours, overtime and double time
    By ArdenWA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2021, 02:43 AM
  3. VBA/Macros for Overtime and Double Time Hours
    By SRaynor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2020, 04:58 PM
  4. Replies: 3
    Last Post: 09-13-2017, 10:08 AM
  5. Need help calculating straight time and overtime hours
    By highenergy2003 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-01-2016, 03:55 PM
  6. Calculate Overtime and Double time Hours
    By spg62798 in forum Excel General
    Replies: 6
    Last Post: 08-05-2014, 08:20 PM
  7. Replies: 16
    Last Post: 12-06-2012, 12:18 PM

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