纸瑶花 发表于 2021-11-8 22:34:00

满足一列任意一种条件求另外一列的平均数

满足一列任意一种条件求另外一列的平均数

爱拍彩照的熊猫 发表于 2021-12-4 11:12:32

数组公式:
=AVERAGE(IF((B2:B25="甲")+(B2:B25="乙"),C2:C25))

居山 发表于 2021-12-18 00:11:27

=(SUMIF(B:B,"甲",C:C)+SUMIF(B:B,"乙",C:C))/(COUNTIF(B:B,"甲")+COUNTIF(B:B,"乙"))
页: [1]
查看完整版本: 满足一列任意一种条件求另外一列的平均数