TL;DR - See Attachment.
Column H can be simplified as:
For column I do:
Column J can be simplified as:
In the attached I changed your layout to show SUMs at the bottom of the table then added in a Weekly Overtime line-item to show additional wages.
The formula to calclulate weekly OT hours is:
The formula to calculate weekly OT Wages is:
Then the Total Wages is just the SUM of column J (Wages) and the calc of Weekly OT Wages.
Note: All of the above assumes that there are two types of OT, Daily and Weekly, and both count. If Daily OT is disregarded when the weekly total is over 40, then Column J formula needs to be this:
Bookmarks