Hi - I have the following formula which is working out the average time between calls for call centre agents:
=SUMPRODUCT(--(MONTH(Data!$A:$A)=Sheet2!$B$2),--(Data!$A:$A<>""),--(Data!$C:$C),--(Data!$D:$D=Sheet2!$B$1))/(SUMPRODUCT(--(MONTH(Data!$A:$A)=Sheet2!$B$2),--(Data!$A:$A<>""),--(Data!$C:$C<>""),--(Data!$D:$D=Sheet2!$B$1)))
in the data
Data column A is the dates
Data Column C is the time between each call
Data column D is the agent name
However in the data column C is a formula to work out the time between calls but I have set it so that it only returns a result if the agent and date are the same as the previous line to stop it calculating time between calls by different agents or the same agent but different days. the formula in column C is
=IF(AND(A1=A2,D1=D2),B2-B1," ")
However the first formula doesn't work unless you remove this from the blank cells. I have set up two data sheets on the attached example one with the formula removed from blank cells in column C and one with it in. and the results show on Sheet 2 - any way I can fix this?
Thanks
J
Bookmarks