My "Data" worksheet includes Name (column A), Problem Reported Date (column B), Problem Resolved Date (column C), Days to Resolve (column D), Type of Problem (column E). My "Analysis" worksheet includes Names (column A), Date Person Started In Department (column B), Date Person Left Department (column C), Type of Problem (column D).
The Data worksheet contains many entries from multiple departements of people who resolved work problems (called Discrepancy Logs (DLs)) over a large span of time. I want to calculate average DL response time, but exclude the DLs resolved from the people in my department during the timeframe they were here, which is the data in the "Analysis" worksheet.
My formula in the Analysis worksheet averages the response time of a "DL" from the data worksheet, and attempts to exclude the peoples names in my department (A2:A7).
=IFERROR(AVERAGEIFS(Data!$D$2:$D$45,Data!$E$2:$E$45,"="&"DL",Data!$A$2:$A$45,"<>"&A2,Data!$A$2:$A$45,"<>"&A3,Data!$A$2:$A$45,"<>"&A4,Data!$A$2:$A$45,"<>"&A5,Data!$A$2:$A$45,"<>"&A6,Data!$A$2:$A$45,"<>"&A7,Data!$A$2:$A$45,"<>"&A8),"")
However, they went on to resolve problems in other departments and I only want to exclude them, and the DLs they resolved, for the time they were working in my department. Somehow I to incorporate the data within the date range they were here (date range of column B and C).
I believe I'm trying to exclude an array of data from the averageifs formula, but I don't have any experience with using arrays.
Thanks in advance.
The Data worksheet contains many entries from multiple departements of people who resolved work problems (called Discrepancy Logs (DLs)) over a large span of time. I want to calculate average DL response time, but exclude the DLs resolved from the people in my department during the timeframe they were here, which is the data in the "Analysis" worksheet.
My formula in the Analysis worksheet averages the response time of a "DL" from the data worksheet, and attempts to exclude the peoples names in my department (A2:A7).
=IFERROR(AVERAGEIFS(Data!$D$2:$D$45,Data!$E$2:$E$45,"="&"DL",Data!$A$2:$A$45,"<>"&A2,Data!$A$2:$A$45,"<>"&A3,Data!$A$2:$A$45,"<>"&A4,Data!$A$2:$A$45,"<>"&A5,Data!$A$2:$A$45,"<>"&A6,Data!$A$2:$A$45,"<>"&A7,Data!$A$2:$A$45,"<>"&A8),"")
However, they went on to resolve problems in other departments and I only want to exclude them, and the DLs they resolved, for the time they were working in my department. Somehow I to incorporate the data within the date range they were here (date range of column B and C).
I believe I'm trying to exclude an array of data from the averageifs formula, but I don't have any experience with using arrays.
Thanks in advance.
Last edited: