Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sumif for payroll
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 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sumif for payroll
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 "galiant" wrote: 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 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sumif for payroll
One way:
Regular: = MIN(40,M22)+MIN(40,O22) OT: =MAX(0,M22-40) + MAX(0,O22-40) In article , galiant wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i set up payroll | Excel Worksheet Functions | |||
Payroll | Excel Discussion (Misc queries) | |||
Adding payroll stubs payroll calculator | New Users to Excel | |||
Payroll | New Users to Excel | |||
Payroll | Excel Discussion (Misc queries) |