This is the formula that I currently use:
=IFERROR(SUMPRODUCT(SUMIF(INDIRECT("'"&sheetlist&"'!m15"),"FF",INDIRECT("'"&sheetlist&"'!m22")))/SUMPRODUCT(COUNTIF(INDIRECT("'"&sheetlist&"'!m15"),"FF")),"")
What it does is average the m22 cells on sheets in which m15=FF.
In addition to the condition that m15 must = FF, I want to add a second condition before averaging. I want to add the condition that m22 must be > 1.
How do I add that condition to the above formula?
=IFERROR(SUMPRODUCT(SUMIF(INDIRECT("'"&sheetlist&"'!m15"),"FF",INDIRECT("'"&sheetlist&"'!m22")))/SUMPRODUCT(COUNTIF(INDIRECT("'"&sheetlist&"'!m15"),"FF")),"")
What it does is average the m22 cells on sheets in which m15=FF.
In addition to the condition that m15 must = FF, I want to add a second condition before averaging. I want to add the condition that m22 must be > 1.
How do I add that condition to the above formula?