Dear Folks,
I am stuck in a situation where I would like to calculate the total processing hours of a request. Of course I have request receive time and request processed time. Both time are in dd/mm/yy HH:mm:ss format. I have tried many combination of formula to calculate total working hours from both the times.
The issue is, requests can be received on any day of the week, however they need to be worked on weekdays only. We work round the clock shifts starting at 9:00am and offs on Saturday and Sunday. Hence And Night shift agent can submit his last request after 12:00am of Saturday (which is actually night shift of Friday). But when I tried to calculate total processing time excluding weekends, formula could not get the process time and throws the error as the weekend date is excluded by formula. Below I am trying to explain my logical condition of a request.
It will be really great if anyone can help me how to calculate the hours:
Conditions:
Request Received Time Request completed Time Total processing Hours (would be)
1) 26-Jul-19 18:35:23 -(Fri) 29-Jul-19 21:30:05 -(Mon) 17:54:42
2) 26-Jul-19 18:35:23 -(Fri) 27-Jul-19 01:30:05 -(Sat) 06:54:42
Logic for 1) :-
26-Jul-19 18:35:23 - 27-Jul-19 00:00:00 = 05:24:37
29-Jul-19 09:00:00 - 29-Jul-19 21:30:05 = 12:30:05
= Total 17:54:42
Where in 2) scenario it was worked on same day.
I am stuck in a situation where I would like to calculate the total processing hours of a request. Of course I have request receive time and request processed time. Both time are in dd/mm/yy HH:mm:ss format. I have tried many combination of formula to calculate total working hours from both the times.
The issue is, requests can be received on any day of the week, however they need to be worked on weekdays only. We work round the clock shifts starting at 9:00am and offs on Saturday and Sunday. Hence And Night shift agent can submit his last request after 12:00am of Saturday (which is actually night shift of Friday). But when I tried to calculate total processing time excluding weekends, formula could not get the process time and throws the error as the weekend date is excluded by formula. Below I am trying to explain my logical condition of a request.
It will be really great if anyone can help me how to calculate the hours:
Conditions:
Request Received Time Request completed Time Total processing Hours (would be)
1) 26-Jul-19 18:35:23 -(Fri) 29-Jul-19 21:30:05 -(Mon) 17:54:42
2) 26-Jul-19 18:35:23 -(Fri) 27-Jul-19 01:30:05 -(Sat) 06:54:42
Logic for 1) :-
26-Jul-19 18:35:23 - 27-Jul-19 00:00:00 = 05:24:37
29-Jul-19 09:00:00 - 29-Jul-19 21:30:05 = 12:30:05
= Total 17:54:42
Where in 2) scenario it was worked on same day.