SUMPRODUCT or SUMIF ?

JJ in SD

Active Member
Joined
Jul 30, 2002
Messages
316
Good Morning,
I have to keep payroll for hourly employees. We have two pay periods and I am having some difficulty using the formulas in K9 and L9. Obviously it is not correct as the actual total pay hours are in J11 & J12.
What I am trying to accomplish is to have formulas that will put the actual “Pay Hours” in Cells K8 & L8. Something that will count the hour totals between cells K5 & K6 (including those dates) for “Pay period 1” and the same with cells L5 & L6..

Thanks in advance, JJ in SD
Hourly Payroll.xls
ABCDEFGHIJKL
2BothInOutINOutTotal HoursRegular HoursOvertime HoursDaily PayRate
3Date$10.00
428-Jun-05Tuesday8.0012.0013.0017.008.008.00 $80.00Pay Period 1Pay Period 2
529-Jun-05Wednesday8.0012.0013.0018.009.008.001.00$95.0028-Jun-051-Jul-05
630-Jun-05Thursday8.0012.0013.0017.008.008.00 $80.0030-Jun-054-Jul-05
71-Jul-05Friday8.0012.0013.0017.008.008.00 $80.00Pay HoursPay Hours
82-Jul-05Saturday8.0012.0013.0018.009.008.001.00$95.0017.5025.50
93-Jul-05Sunday8.0012.0013.0017.008.008.00 $80.00
104-Jul-05Monday8.0012.0013.0017.008.008.00 $80.00
1124.001.0025.50Pay Hours 1
1232.001.0033.50Pay Hours 2
1356.002.0059.00Pay Hours T
Time
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Why not...

=TEXT(A4,"dddd")

...instead, of...

=CHOOSE(WEEKDAY(A4),"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,592
Members
449,174
Latest member
chandan4057

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