I've found Paul Newcome's mega post on calculating hours and from that have successfully created the total number of hours worked. But I am trying to have it calculate net hours worked after taking away any unpaid break. Breaks will be 30 mins or 60 mins. I've seen other posts from people asking about it but haven't seen any solutions. I've tried various solutions presented by AI and nothing is working. Below is screenshots of the 2 formulas that are working perfectly but now I need it to calculate hours minus the break.
I'm want to get the sheet to a point where employee enters in Start time, finish time, break taken and the rest is worked out. Shifts are always completed on the same day.
1st screenshot formula -
=((VALUE(LEFT([End Time]@row , FIND(":", [End Time]@row ) - 1)) + VALUE(RIGHT([End Time]@row , 2)) / 60) + ([End date]@row - [Start date]@row ) * 24) - (VALUE(LEFT([Start Time]@row , FIND(":", [Start Time]@row ) - 1)) + VALUE(RIGHT([Start Time]@row , 2)) / 60)
2nd screenshot formula -
=INT(SUM@row ) + ":" + IF(((SUM@row - INT(SUM@row )) * 60) < 10, "0") + ((SUM@row - INT(SUM@row )) * 60)