Forum Discussion
Jrodz500
Aug 09, 2019Copper Contributor
Automatic Addition, Numerical Limit and Overflow
I am creating an overtime report sheet for a crew ranging from 20 to 75 people. Rather than type up all of the hours for each individual, highlighting everyone's times and then using the sum feature ...
- Aug 09, 2019
I believe this is what SergeiBaklan is suggesting...
Assuming you have headers in row 1 and your data begins in row 2:
In cell M2, you may put the formula:
=Min(L2,40)
In cell N2, you may put the formula:
=Max(0,M2-40)
In cell O2, you may put the formula:
=N2/2
Then of course copy this formula down as necessary.
SergeiBaklan
Aug 09, 2019MVP
It's easier to add one more column for total hours. If you type in it, let say, 55, in next column will be regular hours as =MIN(total, 40), in next overtime as =MAX(0, total-40)
elliot88
Dec 19, 2019Copper Contributor
I am trying the same thing but i do not understand the formula to insert
- SergeiBaklanDec 20, 2019MVP
elliot88 Sorry, from this screenshort it's not clear what you'd like to do.