Hi,
A formula help is needed to return a result for columns E and F based on start and finish times specified in columns C and D.
In actual working days, the OT01 hours should be calculated below the finish time at 9 PM.
The OT02 is calculated after 9 PM and the total number of hours spent on Sundays and holidays falls under OT02.
Sample sheet with expected results are enclosed.
Thanks,
A formula help is needed to return a result for columns E and F based on start and finish times specified in columns C and D.
In actual working days, the OT01 hours should be calculated below the finish time at 9 PM.
The OT02 is calculated after 9 PM and the total number of hours spent on Sundays and holidays falls under OT02.
Sample sheet with expected results are enclosed.
Book1 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
3 | Answer expected | |||||||
4 | Date | Day | Start Time | Finish Time | Normal Days Hours < = 9 PM | >9 PM& /Sunday/Holiday Hours | ||
5 | 14-Feb-23 | Tuesday | 5:30 PM | 12:30 PM | 3.5 | 15.5 | ||
6 | 14-Feb-23 | Tuesday | 5:30 PM | 10:00 PM | 3.5 | 1 | ||
7 | 4-Mar-23 | Saturday | 11:00 PM | 7:00 AM | 0 | 8 | ||
8 | 10-Mar-23 | Friday | 10:00 PM | 1:30 AM | 0 | 3.5 | ||
9 | 5-Mar-23 | Sunday | 7:00 AM | 5:00 PM | 0 | 10 | ||
10 | 17-Apr-23 | Monday | 1:00 AM | 4:00 AM | 0 | 3 | ||
11 | ||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B5:B10 | B5 | =TEXT(WEEKDAY(A5,1),"dddd") |
Thanks,