I have a good scenario that I am not quite sure how to proceed with. Wondering if someone has idea or thoughts on how to make this work right. It is amazing how on paper you can do some things fast -- but trying to get the formula/idea right in workbook is harder!!
employee Shift 1 Shift 2 Shift 3
John Doe 45 47 3
The employee gets over-time(time and half) for ANYTHING over 40 hrs so we would be looking at:
Shift 1: 40 Hrs reg time and 5 hrs overtime $200 + 37.50
Shift 2: 40 Hrs reg time and 7 hrs overtime $360 + 94.50
Shift 3: 3 Hrs reg time $ 36
Shift 1 pay rate: $5
Shift 2 pay rate: $9
Shift 3 pay rate: $12
Therefore the total gross pay for the John Doe is: $728
I was thinking of an IF statement but I am not sure if that is the best way to do it??
In looking at a lookup table I thought maybe this might be better too.
**The problem also runs in when the employee is working part of 2nd and part of 3rd shift when they have OVER-TIME -- for example they work 4pm to 2am here they are starting in 2nd shift but ending in 3rd shift. -- Not sure if a lookup table will do it either.
I am starting fresh on this -- there is NO prior data and all information is currently done on paper. I want to get this to an Excel Worksheet because soon I will have not 3 employees but 25 to 30 and then time calculation for 30 employees will NOT be fun!!
Thanks much
Steve
employee Shift 1 Shift 2 Shift 3
John Doe 45 47 3
The employee gets over-time(time and half) for ANYTHING over 40 hrs so we would be looking at:
Shift 1: 40 Hrs reg time and 5 hrs overtime $200 + 37.50
Shift 2: 40 Hrs reg time and 7 hrs overtime $360 + 94.50
Shift 3: 3 Hrs reg time $ 36
Shift 1 pay rate: $5
Shift 2 pay rate: $9
Shift 3 pay rate: $12
Therefore the total gross pay for the John Doe is: $728
I was thinking of an IF statement but I am not sure if that is the best way to do it??
In looking at a lookup table I thought maybe this might be better too.
**The problem also runs in when the employee is working part of 2nd and part of 3rd shift when they have OVER-TIME -- for example they work 4pm to 2am here they are starting in 2nd shift but ending in 3rd shift. -- Not sure if a lookup table will do it either.
I am starting fresh on this -- there is NO prior data and all information is currently done on paper. I want to get this to an Excel Worksheet because soon I will have not 3 employees but 25 to 30 and then time calculation for 30 employees will NOT be fun!!
Thanks much
Steve