如何在EXCEL中求一列数字X在各个区间内,所对应的Y值的平均值?
1个回答
展开全部
C24公式:
=SUMIFS(C$2:C$21,B$2:B$21,">"&(ROW(A1)-1)*0.2,B$2:B$21,"<="&ROW(A1)*0.2)
下拉;
D24公式:
=SUMIFS(C$2:C$21,B$2:B$21,">"&(ROW(A1)-1)*0.2,B$2:B$21,"<="&ROW(A1)*0.2)
下拉。
=SUMIFS(C$2:C$21,B$2:B$21,">"&(ROW(A1)-1)*0.2,B$2:B$21,"<="&ROW(A1)*0.2)
下拉;
D24公式:
=SUMIFS(C$2:C$21,B$2:B$21,">"&(ROW(A1)-1)*0.2,B$2:B$21,"<="&ROW(A1)*0.2)
下拉。
更多追问追答
追问
D24应该是求Y的平均值哦,怎么跟C24的求和公式一样的呢?
追答
是呀,不好意思,公式写差了,修改为:
=AVERAGEIFS(C$2:C$21,B$2:B$21,">"&(ROW(A1)-1)*0.2,B$2:B$21,"<="&ROW(A1)*0.2)
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询