SOLVED

Automatic Addition, Numerical Limit and Overflow

Copper Contributor

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 to get their totals into column L, I would much prefer having their times automatically add up into column L as I type them. Is this possible?
Additionally, In column M, I input regular hours, so even if someone works 55, column M will say 40 and in Column N would go the 15 overtime hours. Can I make it so that if a value greater than 40 is put into Column M the remaining value could automatically overflow onto the next column?

P.S. In Column O is the premium time which is just half of the overtime, but I managed to automate that to divide values in Column N by 2. This is all I've figured as I don't have much Excel experience and am unsure how else to find these answers.

7 Replies

Hello @Jrodz500,

 

In which columns do you manually input the employees' hours?

Columns E - K represent Monday to Sunday and the first row that has time in it is row 4.

 

@Jrodz500 

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)

@Sergei Baklan 
Sorry, I'm a little confused. Here is a bit more information.

Column A is just comprised of numbers to know the amount on the list. 
Column B is Employee Names
Column C is Employee ID Numbers
Column D is their trade.
Columns E-K are Monday - Sunday
Column L is total hours for the week
Column M is Regular hours  (≤40)
Column N is Overtime hours (The remainder of any number greater than 40 in column M)
Column O is Premium time (1/2 of Column N values)

best response confirmed by Jrodz500 (Copper Contributor)
Solution

@Jrodz500,

 

I believe this is what @Sergei Baklan 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.

I am trying the same thing but i do not understand the formula to insert4D1F44DA-05F3-4804-9AE9-6E00777FC3DD.png

@elliot88 Sorry, from this screenshort it's not clear what you'd like to do.

1 best response

Accepted Solutions
best response confirmed by Jrodz500 (Copper Contributor)
Solution

@Jrodz500,

 

I believe this is what @Sergei Baklan 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.

View solution in original post