I'm trying to automate calculation of overtime pay for employees.
Employee timesheets are exported from our time system as Excel spreadsheets.
They contain two weeks of data. Each day of the week might have multiple time entries. Here's an example of part of a spreadsheet:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Billable Hours[/TD]
[TD]Nonbillable Hours[/TD]
[/TR]
[TR]
[TD]7/1/2017 9:30 AM[/TD]
[TD]3.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/1/2017 2:30 PM[/TD]
[TD][/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7/1/2017 5:00 PM[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/2/2017 10:00 AM[/TD]
[TD][/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7/2/2017 3:00 PM[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc...[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to:
1. Determine the total time worked for each day.
2. Determine the total time worked for each week (remember there are two weeks of date represented in the spreadsheet).
Can you make suggestions? Thanks!
Employee timesheets are exported from our time system as Excel spreadsheets.
They contain two weeks of data. Each day of the week might have multiple time entries. Here's an example of part of a spreadsheet:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Billable Hours[/TD]
[TD]Nonbillable Hours[/TD]
[/TR]
[TR]
[TD]7/1/2017 9:30 AM[/TD]
[TD]3.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/1/2017 2:30 PM[/TD]
[TD][/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7/1/2017 5:00 PM[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/2/2017 10:00 AM[/TD]
[TD][/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7/2/2017 3:00 PM[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc...[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to:
1. Determine the total time worked for each day.
2. Determine the total time worked for each week (remember there are two weeks of date represented in the spreadsheet).
Can you make suggestions? Thanks!