Working out Extra hours with a limit

AdyStewart

New Member
Joined
Jun 29, 2019
Messages
6
OK i have been racking my brain about this for far too long, hopefully someone here can help me

What i need is a formula that will tell me how many extra hours someone has worked over their contracted hours,
So the Min would be their Contacted Hours Per Week * 4 (32*4=128) the Max would be 160
i would like this in One Formula if possible
Cells D2+F2+H2+J2 = 127 Extra hours = 0
Cells D3+F3+H3+J3 = 131 Extra hours = 3
Cells D4+F4+H4+J4 = 165 Extra hours = 32 (160-128=32)

ABDFHJL
1NameContract Hours Per weekW1 HoursW2 HoursW3 HoursW4 HoursExtra Hours PP
2John Smith32352738270
3Jane Smith32362740283
4John Doe324040404532

<tbody>
</tbody>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,214,837
Messages
6,121,883
Members
449,057
Latest member
Moo4247

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top