EXCEL统计某个范围内数值的个数
如图,在A1的位置放的是统计这一列里小于等于10的个数,用=COUNTIF(A1:A5,"<=10")这个函数统计不出来...
如图,在A1 的位置放的是统计这一列里小于等于10的个数,
用=COUNTIF(A1:A5,"<=10")这个函数统计不出来 展开
用=COUNTIF(A1:A5,"<=10")这个函数统计不出来 展开
4个回答
展开全部
这种问题看似简单,其实比较复杂
=SUM(IFERROR(--(--MID(A1&",",SMALL(IF(MID(","&A1&",",ROW(INDIRECT("1:"&LEN(A1)+2)),1)=",",ROW(INDIRECT("1:"&LEN(A1)+2))),ROW($A$1:$A$99)),SMALL(IF(MID(","&A1&",",ROW(INDIRECT("1:"&LEN(A1)+2)),1)=",",ROW(INDIRECT("1:"&LEN(A1)+2))),ROW($A$2:$A$100))-1-SMALL(IF(MID(","&A1&",",ROW(INDIRECT("1:"&LEN(A1)+2)),1)=",",ROW(INDIRECT("1:"&LEN(A1)+2))),ROW($A$1:$A$99)))<=10),))
ctrl+shift+回车
=SUM(IFERROR(--(--MID(A1&",",SMALL(IF(MID(","&A1&",",ROW(INDIRECT("1:"&LEN(A1)+2)),1)=",",ROW(INDIRECT("1:"&LEN(A1)+2))),ROW($A$1:$A$99)),SMALL(IF(MID(","&A1&",",ROW(INDIRECT("1:"&LEN(A1)+2)),1)=",",ROW(INDIRECT("1:"&LEN(A1)+2))),ROW($A$2:$A$100))-1-SMALL(IF(MID(","&A1&",",ROW(INDIRECT("1:"&LEN(A1)+2)),1)=",",ROW(INDIRECT("1:"&LEN(A1)+2))),ROW($A$1:$A$99)))<=10),))
ctrl+shift+回车
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
没明白你说的什么意思。
追问
改了下
追答
写代码可以解决
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
=and($A1<>"",$D1<10)
追问
图片改了下
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询