Your all gonna love this one!
I have a colum A as shift start date / time and colum B of Shift End date / time.
We have two rates of hourly pay depending on what hours in the day the staff worked. Rate 1 is between 07:00 and 20:00, Rate 2 is between 20:00 and 07:00.
I'd like to have colum C as hours the staff worked in rate 1, and colum D as number of hours that they worked in rate 2.
e.g
Colum A: 06/09/11 03:00 - Start date/time
Colum B: 06/09/11 23:30 - End date time
Colum C: 7.5 or 07:30 - hours worked on rate 1 (3am until 7am is 4 hours plus 8pm untill 11:30pm is 3 and a half hours)
Colum D: 11 or 11:00 (7am until 8pm is 11 hours)
This sounds really simple, but it has been baking my noodle for a loooooong time. Any ideas?
Bookmarks