hey everyone im new here and need some help with an excel formula please. Below is what i am trying to do i have also attached the file.

Cell G22 - Adds all Regular Working Hours Together
Cell H22 - Grabs Hours Over 8 Hours As Overtime
(This is correct)

Cell B22 - I would like this cell to add the Regular Work Hours and Overtime and subtract it from the weekly hours of 40 and display the remainder....basically i want this to show what goes over 40 hrs

Thanks

Salary Slip-Cashier.xlsx