6467100000
Board Regular
- Joined
- Oct 7, 2005
- Messages
- 154
Hi,
I an writng an overtime calculator and need some help.
The start time of the shift is in A1 and the finish time in B1.
C1 calculates the total hours worked in a shift using the following
=IF(A1>B1,B1+1-A1,B1-A1)*24
In addition to the above, I need to be able to calulate the number of hours worked between 22:00 and 06:00 so that I can apply a unsociable working payment of £5 per hour.
How do I calculate the number of hours worked between the range of 22:00 and 06:00 between A1 and B1?
Many thanks
I an writng an overtime calculator and need some help.
The start time of the shift is in A1 and the finish time in B1.
C1 calculates the total hours worked in a shift using the following
=IF(A1>B1,B1+1-A1,B1-A1)*24
In addition to the above, I need to be able to calulate the number of hours worked between 22:00 and 06:00 so that I can apply a unsociable working payment of £5 per hour.
How do I calculate the number of hours worked between the range of 22:00 and 06:00 between A1 and B1?
Many thanks