AVERAGEIFS(average_range,criteria_range1,criteria1,criteria_range2,criteria2...) returns the average (arithmetic mean) of all cells that meet multiple criteria. : AVERAGEIFS « Statistical functions « Microsoft Office Excel 2007 Tutorial
Input the formula: =AVERAGEIFS(B2:B5,B2:B5,">7",B2:B5,"<9"). Press Enter to get the result.
Referenced from Excel Help
21.4.AVERAGEIFS
21.4.1.
AVERAGEIFS(average_range,criteria_range1,criteria1,criteria_range2,criteria2...) returns the average (arithmetic mean) of all cells that meet multiple criteria.