word-wrap: break-word; margin: 5px 0px; color: rgb(0, 0, 0); font-family: 'sans serif', tahoma, verdana, helvetica; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">运用COUNTIF函数统计日期出现的次数。
软件名称:Excel2007 绿色版精简免费[58MB]软件大小:58MB更新时间:2016-06-27
1、简单举例演示操作方法。比如,下图中的数据;统计6月1日至6月30日出现的次数。
2、我们可以用到COUNTIF函数来统计。公式组成:=COUNTIF(条件区域,条件)
3、在D1单元格输入:=COUNTIF(A1:C5,">=6-1")-COUNTIF(A1:C5,">6-30")
4、按下回车键,即可得出结果。
5、=COUNTIF(A1:C5,">=6-1")-COUNTIF(A1:C5,">6-30"),有些朋友可能不明白,为什么用到。可以这样理解,前段,COUNTIF(A1:C5,">=6-1")是计算出大于等于6月1日的日期出现次数。
6、COUNTIF(A1:C5,">6-30")是计算出大于6月30日的日期出现次数。前者减去后者,得到6月1日至6月30日出现的次数。
【利用excel表格中countif函数统计人数】利用excel表格中COUNTIF函数统计日期的次数
http://m.bbyears.com/bangongshuma/132741.html
推荐访问: