I have been a keen follower of this website and all the really fantastic excel wonders that you do and have implemented some of your dashboards and camera tool tips in my daily work. Hope you can help on this one.
I am working on a project for my boss, where we export data from a database in which we do not have access rights to create queries or report other than standard reports that were created.
The issue I have is that I require to pay personnel based on the following
Day of shift and shift group.
Monday evening £20
Monday Night £30
Weekend Rate irrespective of time is £30
What i require is to calculate is when a shift starts before midnight and crosses midnight, how many hours do I require to pay at what rate.
Small example
Date Day ShiftGroup Start End Duration Midweek Nights Wkd tl2
04/10/11 Tues Evening 18:00 23:00 5:00 5
04/10/11 Tues Night 23:00 06:00 7:00 1 6 6
08/10/11 Sat Morning 08:00 13:00 5:00 5 5
08/10/11 Sat Evening 20:00 01:00 5:00 1 4 5
What I believe I need to happen is the following:
1)Calculate duration of shift
2)Identify Day of week and Shift Group and populate correct number of hours for each type
3)Total Hours for Nights and Weekends as one total as this is the same rate.
If anyone require to see this as a spreadsheet I can certainly provide one, not sure how to upload it though, although I'm sure someone could point me in the right direction on this.
Jim ( marshaji)
I am working on a project for my boss, where we export data from a database in which we do not have access rights to create queries or report other than standard reports that were created.
The issue I have is that I require to pay personnel based on the following
Day of shift and shift group.
Monday evening £20
Monday Night £30
Weekend Rate irrespective of time is £30
What i require is to calculate is when a shift starts before midnight and crosses midnight, how many hours do I require to pay at what rate.
Small example
Date Day ShiftGroup Start End Duration Midweek Nights Wkd tl2
04/10/11 Tues Evening 18:00 23:00 5:00 5
04/10/11 Tues Night 23:00 06:00 7:00 1 6 6
08/10/11 Sat Morning 08:00 13:00 5:00 5 5
08/10/11 Sat Evening 20:00 01:00 5:00 1 4 5
What I believe I need to happen is the following:
1)Calculate duration of shift
2)Identify Day of week and Shift Group and populate correct number of hours for each type
3)Total Hours for Nights and Weekends as one total as this is the same rate.
If anyone require to see this as a spreadsheet I can certainly provide one, not sure how to upload it though, although I'm sure someone could point me in the right direction on this.
Jim ( marshaji)