Hello! I made a time-sheet in Excel that calculates overtime and I'm trying to accomodate the various types of overtime. I have it split out into various columns:
Regular rate - up to 8 hours for each day
Daily overtime 1.5 - time and a half for anything over 8 hours for each day
Daily overtime 2 - double time for anything over 12 hours for each day
7th consecutive day 1.5 - time and a half for first 8 hours of 7th consecutive day
7th consecutive day 2 - double time for anything over 8 hours on the 7th consecutive day
Weekly overtime 1.5 - time and a half for hours greater than 40 for the week (after all other OT has been considered)
The only ones I can't get to work the way I'd like are the ones for the 7th day of the week... If the employee has worked 7 consecutive days, it needs to calculate time and a half for the first 8 hours, and double time for anything over that.
I'm thinking it would be an IF formula that will look at the hours input to each of the previous days and if all of them are greater than zero, the hours for the 7th day will appear in that cell... I would put a formula in the cell for regular hours indicating that if the 7th Day OT cell shows greater than zero than the regular cell would be zero.
I'm not sure how to write the formula that will look at the previous 6 days sequentially and turn the proper result.
Does that make sense to anyone? Any suggestions much appreciated!!
Bookmarks