Hello,
I need to calculate a TAT formula for the below case
P1 -- 1 Hour
P2 -- 2 Hour
P3 -- 4 Hour
P4 -- 8 Hour
Shift Start time : 6:30pm
Shift End Time : 3:30am
Suppose a request comes at 9:30pm and it is Priority 1 (P1) then it should be completed at 9:30pm + 1 hour = 10:30pm. I have given the below formula to execute this
=IF(A2="P1",1,IF(A2="P2",2,IF(A2="P3",4,IF(A2="P4",8,0))))
=B2+(TIME(D2,0,0))
The problem here is if the request is P4 then its 8 hr TAT and the formula will calculate the time as 5:30am. Since the shift time end at 3:30am itself the actual TAT should be the next day 8:30pm.
Please suggest the formula to calculate the TAT which includes the start time and end time and also excludes the weekends and holidays.
Regards
Jack
Bookmarks