6467100000
Board Regular
- Joined
- Oct 7, 2005
- Messages
- 154
Hi,
I hope someone can help.
I am building an overtime calculator and I need some help.
Cell A1 has the start time and Cell A2 has the finish time, I am calculating the total hours worked using the following formula which works fine.
=IF(A1>A2,A2+1-A1,A2-A1)*24
Seperatley I need to count the number of hours worked within the hours of 08:00 and 20:00 so that I can calculate overtime a sociable rate and then the number of ours worked between 20:00 and 08:00 to be able to calculate the overtime at a unsociable rate.
Could someone explain how I calcualte the sociable and unsociable hours worked?
Many thanks
I hope someone can help.
I am building an overtime calculator and I need some help.
Cell A1 has the start time and Cell A2 has the finish time, I am calculating the total hours worked using the following formula which works fine.
=IF(A1>A2,A2+1-A1,A2-A1)*24
Seperatley I need to count the number of hours worked within the hours of 08:00 and 20:00 so that I can calculate overtime a sociable rate and then the number of ours worked between 20:00 and 08:00 to be able to calculate the overtime at a unsociable rate.
Could someone explain how I calcualte the sociable and unsociable hours worked?
Many thanks