Sumif for payroll

G

Guest

I want to track overtime pay. I want it to sum Regular time up to 40 hours
and anything over 40 hours as overtime pay.

I tried something like this equation, but it is incorrect:
=SUMIF(((M22-40,)+(O22-40)),"<1")


Week 1 Week 2 Regular Overtime
Shifts Hrs Shifts Hrs
4 48 3 36
 
G

Guest

Try this for your regular hours:
=MIN(40,M2)+MIN(40,O2)
and then this for the overtime
=(M2+O2)-P2

This assumes that your 48 is in M, the 36 in O and that Regular goes into P,
with the overtime calculation in column Q.
would show up as

.... L M N O P Q
4 48 3 36 76 8
 
J

JE McGimpsey

One way:

Regular: = MIN(40,M22)+MIN(40,O22)

OT: =MAX(0,M22-40) + MAX(0,O22-40)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Payroll Calculation - Help Needed 3
payroll calculation 4
Overtime 4
TOUGH FORMULA QUESTION - PLEASE HELP! 3
Overtime for 8 hour and 40 hour 1
PAYROLL CALCULATION 4
Worksheet problem 3
timesheet formula 2

Top