TracyLRoberts
New Member
- Joined
- Oct 7, 2019
- Messages
- 1
Hello, I would be most grateful for help, I am trying to calculate SLA for call attendance based on 7 days per week with operating hours of 08:00 - 18:00, SLA of 12 hours. The only solution I can find uses workday which then does not return correct weekend calculations, I feel so silly but can not figure this out Thanks in advance
Below, I have S as SLA,V as date time logged, and L as operating hours
=WORKDAY(V8,INT(S8/8)+IF(TIME(HOUR(V8),MINUTE(V8),SECOND(V8))+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0)>
$L$3,1,0),$K$2:$K$2)+IF(TIME(HOUR(V8),MINUTE(V8),SECOND(V8))+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0)>$L$3,$L$2
+TIME(HOUR(V8),MINUTE(V8),SECOND(V8))+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0)-$L$3,TIME(HOUR(V8),MINUTE(V8),SECOND(V8))
+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0))
Below, I have S as SLA,V as date time logged, and L as operating hours
=WORKDAY(V8,INT(S8/8)+IF(TIME(HOUR(V8),MINUTE(V8),SECOND(V8))+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0)>
$L$3,1,0),$K$2:$K$2)+IF(TIME(HOUR(V8),MINUTE(V8),SECOND(V8))+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0)>$L$3,$L$2
+TIME(HOUR(V8),MINUTE(V8),SECOND(V8))+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0)-$L$3,TIME(HOUR(V8),MINUTE(V8),SECOND(V8))
+TIME(MOD(S8,8),MOD(MOD(S8,8),1)*60,0))