Hello Hello, I am creating a spreadsheet for my company's payroll, and I need a formula to work out the overtime that is different at different rates ie Monday to Saturday are - the first 4 hours after their contracted 8 hours is at 1.5 then the rest is at 2, then night shifts are first 4 hours after their contracted 8 hours is at 1.75 then the rest is at 2, then Sundays are always at 2, the spread sheet is as below (I hope it looks right when I submit this) the first few columns are the amount of over time they have done, the next is whether or not it is a night shift (y=night shift). so I need a formula to work out the amount of hours to pay at each of the different rates, so needs to consider the y's and for 1.5 and 1.75 cut of at 4 and continue in the next rate. I hope someone can help and I do need the formula asap would love it sorted and the spreadsheet completed before Christmas [TABLE="width: 1260"]
<tbody>[TR]
[TD]Difference Hours Monday
[/TD]
[TD]Difference Hours Tuesday
[/TD]
[TD]Difference Hours Wednesday
[/TD]
[TD]Difference Hours Thursday
[/TD]
[TD]Difference Hours Friday
[/TD]
[TD]Difference Hours Saturday
[/TD]
[TD]Difference Hours Sunday
[/TD]
[TD]Monday night shift
[/TD]
[TD]Tuesday night shift
[/TD]
[TD]Wednesday night shift
[/TD]
[TD]Thursday night shift
[/TD]
[TD]Friday night shift
[/TD]
[TD]Satuday night Shift
[/TD]
[TD]Overtime @ 1.25
[/TD]
[TD]Overtime @ 1.5
[/TD]
[TD]Overtime @ 1.75
[/TD]
[TD]Overtime @ 2
[/TD]
[/TR]
[TR]
[TD]2.00
[/TD]
[TD]5.00
[/TD]
[TD]2.00
[/TD]
[TD]6.00
[/TD]
[TD]5.00
[/TD]
[TD]6.00
[/TD]
[TD]1.00
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD][/TD]
[TD="align: right"]2.00
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD]Difference Hours Monday
[/TD]
[TD]Difference Hours Tuesday
[/TD]
[TD]Difference Hours Wednesday
[/TD]
[TD]Difference Hours Thursday
[/TD]
[TD]Difference Hours Friday
[/TD]
[TD]Difference Hours Saturday
[/TD]
[TD]Difference Hours Sunday
[/TD]
[TD]Monday night shift
[/TD]
[TD]Tuesday night shift
[/TD]
[TD]Wednesday night shift
[/TD]
[TD]Thursday night shift
[/TD]
[TD]Friday night shift
[/TD]
[TD]Satuday night Shift
[/TD]
[TD]Overtime @ 1.25
[/TD]
[TD]Overtime @ 1.5
[/TD]
[TD]Overtime @ 1.75
[/TD]
[TD]Overtime @ 2
[/TD]
[/TR]
[TR]
[TD]2.00
[/TD]
[TD]5.00
[/TD]
[TD]2.00
[/TD]
[TD]6.00
[/TD]
[TD]5.00
[/TD]
[TD]6.00
[/TD]
[TD]1.00
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD]y
[/TD]
[TD][/TD]
[TD="align: right"]2.00
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]