smoochie2069
New Member
- Joined
- Sep 10, 2014
- Messages
- 3
I need a conditional statement for the cell "OT Hours" that will calculate the amount of hours over 40 from the "Regular Time Hours" but only if none of the previous 7 cells contain "Vacation" in which case, it should be zero. By the way, Shifts are 12 hours and Vacation days are 8 hours so in the example below, the appropriate answer for OT Hours would be 0 (zero). Reason is that an employee does not get paid for hours over 40 unless they actually work over 40 hours not counting vacation time. Thanks in advance!
<tbody>
</tbody>
<tbody>
</tbody>
Sun | Mon | Tue | Wed | Thu | Fri | Sat | Regular Time | OT | ||
Employee | 14-Sep-14 | 15-Sep-14 | 16-Sep-14 | 17-Sep-14 | 18-Sep-14 | 19-Sep-14 | 20-Sep-14 | Hours | Hours |
<tbody>
</tbody>
OPEN-Supervisor | Shift B | Vacation | OFF | Shift B | Shift B | OFF | OFF | 44.0 | 4.0 |
<tbody>
</tbody>