I have an excel sheet which we use to calculate employees work schedules.
I have a formula which calculates hours, taking into account second shift times, some work 2-10 pm etc.
=IF(OR(D5=""|C5="")|""| IF(D5=C5|12|IF(ABS(D5-C5)<>0|IF((D5-C5+12)>12| D5-C5| D5-C5+12)|0)))
Now there is new group which schedules for instance 7.50am. The excel is showing this as 8.
I would like to calculate this as 7.50am.
Not only this but when i enter 7.50 it shows 8 but also doesnt do the total correctly. I have an ending time of 5 and it's showing the total as 10 not 9. or 9.10
I have a formula which calculates hours, taking into account second shift times, some work 2-10 pm etc.
=IF(OR(D5=""|C5="")|""| IF(D5=C5|12|IF(ABS(D5-C5)<>0|IF((D5-C5+12)>12| D5-C5| D5-C5+12)|0)))
Now there is new group which schedules for instance 7.50am. The excel is showing this as 8.
I would like to calculate this as 7.50am.
Not only this but when i enter 7.50 it shows 8 but also doesnt do the total correctly. I have an ending time of 5 and it's showing the total as 10 not 9. or 9.10
Last edited: