Hi, I have a service desk application that dumps raw data into a .csv file for analysis. While I am able to do most things I am stumped on working out the business hours and overtime hours. Business hours start at 8:00am and end 5:30pm Monday to Friday, everything outside of that time is classed as overtime. The application is ticket based and so the report dumps the times for each job rather than times for each engineer, this means that there are multiple entries per day per engineer.
The .csv file has the following entries, I have summarised and removed all columns apart from what is relevant (date is start date of the job as they can go over midnight). I am on Windows 8.1 running Office + 2013. Thanks in advance.
[TABLE="width: 260"]
<tbody>[TR]
[TD]K[/TD]
[TD]N[/TD]
[TD]S[/TD]
[TD]AU[/TD]
[/TR]
[TR]
[TD]date[/TD]
[TD]finish[/TD]
[TD]hours[/TD]
[TD]start[/TD]
[/TR]
[TR]
[TD="align: right"]2/01/2015[/TD]
[TD="align: right"]16:06[/TD]
[TD="align: right"]7.6[/TD]
[TD="align: right"]8:30[/TD]
[/TR]
[TR]
[TD="align: right"]3/01/2015[/TD]
[TD="align: right"]21:00[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]18:00[/TD]
[/TR]
[TR]
[TD="align: right"]3/01/2015[/TD]
[TD="align: right"]1:00[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]22:00[/TD]
[/TR]
</tbody>[/TABLE]
The .csv file has the following entries, I have summarised and removed all columns apart from what is relevant (date is start date of the job as they can go over midnight). I am on Windows 8.1 running Office + 2013. Thanks in advance.
[TABLE="width: 260"]
<tbody>[TR]
[TD]K[/TD]
[TD]N[/TD]
[TD]S[/TD]
[TD]AU[/TD]
[/TR]
[TR]
[TD]date[/TD]
[TD]finish[/TD]
[TD]hours[/TD]
[TD]start[/TD]
[/TR]
[TR]
[TD="align: right"]2/01/2015[/TD]
[TD="align: right"]16:06[/TD]
[TD="align: right"]7.6[/TD]
[TD="align: right"]8:30[/TD]
[/TR]
[TR]
[TD="align: right"]3/01/2015[/TD]
[TD="align: right"]21:00[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]18:00[/TD]
[/TR]
[TR]
[TD="align: right"]3/01/2015[/TD]
[TD="align: right"]1:00[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]22:00[/TD]
[/TR]
</tbody>[/TABLE]