Hi, I am using the following formula and it work perfectly fine until I want to include weekend (Sat and Sun) and to make matter worse. Sat and Sun have a difference set of start and end business hour.
Can someone help?
=(NETWORKDAYS(A2,B2)-1)*(I$3-I$2)+IF(NETWORKDAYS(B2,B2),MEDIAN(MOD(B2,1),I$3,I$2),I$3)-MEDIAN(NETWORKDAYS(A2,A2)*MOD(A2,1),I$3,I$2)
A2 = date/time received
B2 = date/time answered
I3 = end of business day
I2 = start of business day
H3 = end of business day time
H2 = start of business day time
Can someone help?
=(NETWORKDAYS(A2,B2)-1)*(I$3-I$2)+IF(NETWORKDAYS(B2,B2),MEDIAN(MOD(B2,1),I$3,I$2),I$3)-MEDIAN(NETWORKDAYS(A2,A2)*MOD(A2,1),I$3,I$2)
A2 = date/time received
B2 = date/time answered
I3 = end of business day
I2 = start of business day
H3 = end of business day time
H2 = start of business day time