Sum multiple cells in a range to calculate overtime per week per staff

Brook Trout

New Member
Joined
Jun 20, 2017
Messages
1
I have over 100,00 lines of timesheet entries in Excel and would like to calculate how much overtime per week our team has done and to check the seasonality of the overtime. This is so I can try to make a business case to hire more staff.

Below is an example of our data. Most days have more than one time entry for each staff member. I have changed the date range to number value to hopefully make it easier to do the search for the range, but also found it easier to populate the date column. I'd like to have the names along a row at the top and the dates in a column along the left side. I can hide the numeric date and leave the calendar date there. It's for multiple years, so I will break up for each year.

My concept for the formula is

=(formula for summing multiple cells in a range per staff)-35

so I can get the overtime per week. I'm just not sure how to effectively sum multiple cells for a range for each staff.


Sample of current data:

Name
Date
Time Spent
Ada


42005


7.00


Alan


42005


7.00


Amy


42005


7.00


Doreen


42005


7.00


Ed


42005


7.00


Barb


42005


7.00


Helen


42005


7.00


Joanne


42005


7.00


John


42005


7.00


Lisa


42005


7.00


Manuel


42005


7.00


Mary


42005


7.00


Rose


42005


7.0


Pita


42005


7.00


Sveta


42005


7.00


Ada


42006


6.50


Ada


42006


1.00


Alan


42006


7.00


Amy


42006


8.00


Doreen


42006


7.50


Ed


42006


3.00


Ed


42006


3.50


Ed


42006


1.00


Barb


42006


2.50


Barb


42006


1.00


Barb


42006


2.00


Barb


42006


3.00



<tbody>
</tbody>

Current format for table for calculation:

Ada


Alan


Amy


42001


42007


12/28 to 01/03


42008


42014


01/04 to 01/10



<tbody>
</tbody>


Thanks for any help or suggestions.

Brook Trout.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi. I copied your tables and pasted them into cell A1 of a new sheet. I then used this calculation in cell D61:

=SUMIFS($C$1:$C$54,$B$1:$B$54,">="&$A61,$B$1:$B$54,"<="&$B61,$A$1:$A$54,D$59)
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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