第一问:=AVERAGEIFS(Sheet1!$G:$G,Sheet1!$C:$C,Sheet2!B1),右拉下拉;
第二问可能要你手动把这些学生拉出来,计算并和我的答案验证一下,比较保险,一个对了其他都对:
第二问各级部:=SUM(SUMIFS(Sheet1!G:G,Sheet1!$B:$B,{"文科","理科","艺体"},Sheet1!$F:$F,{"<100","<300","<600"},Sheet1!$A:$A,Sheet3!$A2))
/SUM(COUNTIFS(Sheet1!$B:$B,{"文科","理科","艺体"},Sheet1!$F:$F,{"<100","<300","<600"},Sheet1!$A:$A,Sheet3!$A2));
第二问总分:=SUM(SUMIFS(Sheet1!G:G,Sheet1!$B:$B,{"文科","理科","艺体"},Sheet1!$F:$F,{"<100","<300","<600"}))
/SUM(COUNTIFS(Sheet1!$B:$B,{"文科","理科","艺体"},Sheet1!$F:$F,{"<100","<300","<600"})) |