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:
[TABLE="width: 239"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Date
[/TD]
[TD]Time Spent
[/TD]
[/TR]
[TR]
[TD]Ada
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Alan
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Amy
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Doreen
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Joanne
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]John
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Lisa
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Manuel
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Mary
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Rose
[/TD]
[TD]42005
[/TD]
[TD]7.0
[/TD]
[/TR]
[TR]
[TD]Pita
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Sveta
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Ada
[/TD]
[TD]42006
[/TD]
[TD]6.50
[/TD]
[/TR]
[TR]
[TD]Ada
[/TD]
[TD]42006
[/TD]
[TD]1.00
[/TD]
[/TR]
[TR]
[TD]Alan
[/TD]
[TD]42006
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Amy
[/TD]
[TD]42006
[/TD]
[TD]8.00
[/TD]
[/TR]
[TR]
[TD]Doreen
[/TD]
[TD]42006
[/TD]
[TD]7.50
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42006
[/TD]
[TD]3.00
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42006
[/TD]
[TD]3.50
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42006
[/TD]
[TD]1.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]2.50
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]1.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]2.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]3.00
[/TD]
[/TR]
</tbody>[/TABLE]
Current format for table for calculation:
[TABLE="width: 414"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Ada
[/TD]
[TD]Alan
[/TD]
[TD]Amy
[/TD]
[/TR]
[TR]
[TD]42001
[/TD]
[TD]42007
[/TD]
[TD]12/28 to 01/03
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]42008
[/TD]
[TD]42014
[/TD]
[TD]01/04 to 01/10
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any help or suggestions.
Brook Trout.
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:
[TABLE="width: 239"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Date
[/TD]
[TD]Time Spent
[/TD]
[/TR]
[TR]
[TD]Ada
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Alan
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Amy
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Doreen
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Joanne
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]John
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Lisa
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Manuel
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Mary
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Rose
[/TD]
[TD]42005
[/TD]
[TD]7.0
[/TD]
[/TR]
[TR]
[TD]Pita
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Sveta
[/TD]
[TD]42005
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Ada
[/TD]
[TD]42006
[/TD]
[TD]6.50
[/TD]
[/TR]
[TR]
[TD]Ada
[/TD]
[TD]42006
[/TD]
[TD]1.00
[/TD]
[/TR]
[TR]
[TD]Alan
[/TD]
[TD]42006
[/TD]
[TD]7.00
[/TD]
[/TR]
[TR]
[TD]Amy
[/TD]
[TD]42006
[/TD]
[TD]8.00
[/TD]
[/TR]
[TR]
[TD]Doreen
[/TD]
[TD]42006
[/TD]
[TD]7.50
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42006
[/TD]
[TD]3.00
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42006
[/TD]
[TD]3.50
[/TD]
[/TR]
[TR]
[TD]Ed
[/TD]
[TD]42006
[/TD]
[TD]1.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]2.50
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]1.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]2.00
[/TD]
[/TR]
[TR]
[TD]Barb
[/TD]
[TD]42006
[/TD]
[TD]3.00
[/TD]
[/TR]
</tbody>[/TABLE]
Current format for table for calculation:
[TABLE="width: 414"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Ada
[/TD]
[TD]Alan
[/TD]
[TD]Amy
[/TD]
[/TR]
[TR]
[TD]42001
[/TD]
[TD]42007
[/TD]
[TD]12/28 to 01/03
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]42008
[/TD]
[TD]42014
[/TD]
[TD]01/04 to 01/10
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any help or suggestions.
Brook Trout.