Ok, so hopefully the table below explains the issue - the 38.00 in column Q is the problem. The issue seems to occur if I have a none on the hour start time with and try to add 30 minutes:
(HOUR(P2+TIME(0,30,0))+MINUTE(P2+TIME(0,30,0)))
<tbody>
</tbody>
O Column = P2*24
P Column = ((M2-L2+(M2<L2))-TIME(0,30,0))
Q Column = IF(N2="Y",(P2*24),(HOUR(P2+TIME(0,30,0))+MINUTE(P2+TIME(0,30,0))))
Thanks in advance folks.
(HOUR(P2+TIME(0,30,0))+MINUTE(P2+TIME(0,30,0)))
L Start | M Finish | N (Deduct 30' Lunch) | O (Decimal Shift) | P (T'Sheet Hours) | Q (Invoice Qty) |
07:00 | 16:00 | N | 8.50 | 8:30 | 9.00 |
07:00 | 16:00 | Y | 8.50 | 8:30 | 8.50 |
07:30 | 16:00 | N | 8.00 | 8:00 | 38.00 |
07:30 | 16:00 | Y | 8.00 | 8:00 | 8.00 |
21:00 | 06:00 | N | 8.50 | 8:30 | 9.00 |
21:00 | 06:00 | Y | 8.50 | 8:30 | 8.50 |
21:30 | 06:00 | N | 8.00 | 8:00 | 38.00 |
21:30 | 06:00 | Y | 8.00 | 8:00 | 8.00 |
<tbody>
</tbody>
O Column = P2*24
P Column = ((M2-L2+(M2<L2))-TIME(0,30,0))
Q Column = IF(N2="Y",(P2*24),(HOUR(P2+TIME(0,30,0))+MINUTE(P2+TIME(0,30,0))))
Thanks in advance folks.