I am trying to come up with a spreadsheet that calculates California OT. CA is very different compared to all the other states. You must calculate Monday through Sunday so that anything after 40 hours in the week TOTAL is all overtime, then each day under the 40hrs must be <8hrs is regular time, 8-12 hours is 1 1/2 OT and anything over 12 hours is 2x OT.........but if employee works 7 consecutive days in a row, on Sunday (being the 7th day) they get 2x OT for all hours worked... Please help.
EX:
Mon 12hrs = 8 hrs regular, 4 hrs -1 1/2
Tues 18hrs = 8 hrs reg, 4 hrs -1 1/2, 6 hrs -2x
Wed 15hrs = 8 hrs regular, 7 hrs -1 1/2--------> this makes it 45hrs today, so anything over the 40 hours worked today is 1 1/2 OT
Thurs 17hrs = all hours <12hrs are- 1 1/2 OT and >12hrs are -2x OT
Fri 8hrs = all hours are 1 1/2
Sat 4hrs = all hours are 1 1/2
Sun 6hrs = all hours are 2x
regular hours = 24
1 1/2 OT= 39
2x OT = 17