Pay Period Total Hours from Weekly Schedule

KrisKiel

New Member
Joined
Feb 16, 2019
Messages
28
I am trying to have the number hours that employees work per pay period. Each day has a different number of hours and clients that we work with. Because each pay period ends on a different day of the week, I'm having trouble figuring out how to do this.

I would also like to have the number of hours employees work with each client per pay period. I have the weekly total formula for that but again, I'm having difficulty because of how pay period days change. The formula I used for the weekly client hours is:

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]=SUMIF(R2:R36,"B.T.",S2:S36)

where Column R has the client names, of which B.T. is one client, and Column S is the session lengths.
[/FONT]
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
If you have True dates in a column (say for Example Column C) of each record....

Check out the SUMPRODUCT() function. It can be used to issue criteria if a record falls BETWEEN 2 Dates (StartDate and EndDate) which you would have to provide.

For example you could in Two Cells A1: 1/05/2019 and B1: 1/15/2019

Code:
=SUMPRODUCT((C2:C36>=A1)*(C2:C36<=B1)*(S2:S36))
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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