What I want to do if quite easy using a calculator and my brain but I'm not getting the and statements correct. Can anyone assist?
The scenario is a simple labour hours calculator. An employee gets single time for up to 40 hours regardless of the day of the week that the hours are worked. Normal shift pattern is 4 x 10 hours Monday to Friday. If they do more than the 40 hours, they can get up to 2 hours per day at time + 1/3 and after 12 hours, they start to get time + 1/2. If they work Fridays or Saturdays and have worked at least 40 hours, they start to get time + 1/2 and for Sundays, it's double time. All that said, my first step is to calculate the hours at single time, first by reference to total hours worked. For simplicity's sake, I'll concentrate on Monday and if I get the syntax right, I can move on to Tuesday, etc.
In my spreadsheet I have the following:
A1 Actual hours Mon-Thu variable
B1 Total hours Mon-Sun variable
C1 Actual hours Mon variable
D1 Normal shift hours Monday 10
E1 Normal shift hours week 40
F1 Bonus hours (1+1/3 Mon to Thur) 2
G1 Calculation Monday hours at single time
H1 Calculation Monday hours at time + 1/3
I1 Calculation Monday hours at time + 1/2
I've put in the fixed values where applicable and just want to be able to split the total hours for Monday based on the rules in cells G1 to I1.
Thanks in advance.
Bookmarks