Although there are several posts regarding similaar topics, I have not been successful. I am now using the following formula:
=MIN("7:00",MAX("0:00","18:00"+INT(C2)-C2))*NETWORKDAYS(C2,C2)+MIN("7:00",MAX(D2-"7:00"-INT(D2)))*NETWORKDAYS(D2,D2)+"7:00"*(MAX(0,NETWORKDAYS(C2,D2)-2)-(INT(INT(C2)/INT(D2))))
A2 = Start time of workday
B2 = End time of workday
C2 = Ticket submitted date & time
D2 = Date & time ticket was initially triaged.
Attached spreadsheet showing E3 with a triage metric of 3 hours and it should be 2 hours (workday started at 7:00 but ticket was submitted at 8:00 and responded to at 10:00.
Any help would be greatly appreciated.
Thank you!
Bookmarks