Excel如何统计数量和countif()函数介绍
时间:2023-03-12 10:35:21
关于excel如何统计数量的问题,文章使用两个案例来介绍countif函数的使用。
Q:excel如何统计数量?
A:excel统计数量一般会使用到countif等函数。比如下面的截图,A列是姓名,B列是性别。excel如何统计性别为男和女的数量呢?
E2单元格输入公式:=COUNTIF(B:B,D2),下拉即可统计男和女的数量。
公式解释:=countif(统计的区域,“条件”)。
使用此函数需要注意通配符的使用,根据帮助介绍:在条件中可以使用通配符,即问号 (?) 和星号 (*)。问号匹配任意单个字符,星号匹配任意一系列字符。若要查找实际的问号或星号,请在该字符前键入波形符 (~)。
比如下图所示的我们统计B列有几个单元格有*号。B6单元格输入公式:=COUNTIF(B1:B5,"~*")。
我们再学习区间内excel如何统计数量?比如统计B2:B16单元格区域,成绩在70至79之间的数量。我们在C1单元格输入公式:=COUNTIF(B2:B16,">=70")-COUNTIF(B2:B16,">=80"),即可统计出70至79这个区间的数量。
标签:函数,单元格,数量,统计,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
wps演示怎样压缩图片
2023-11-14 04:46:59
excel表格隐藏公式的方法
2022-06-20 01:42:47
TP-link700n迷你路由器如何设置
2023-03-04 16:42:10
![](https://img.aspxhome.com/file/2023/3/a299225_0s.jpg)
word2007中繁简字体快速转换设置步骤(图文)
2022-01-15 13:30:58
![](https://img.aspxhome.com/file/2023/1/29671_0s.jpg)
iOS 13.1 共享音频功能如何使用?
2022-06-11 02:59:13
![](https://img.aspxhome.com/file/2023/2/a196742_0s.jpg)
PowerPoint如何带走自己的字体
2023-11-18 06:33:01
![](https://img.aspxhome.com/file/2023/10/a352974_0s.jpg)
PotPlayer怎么关掉左上角显示的播放时间?PotPlayer关掉左上角显示播放时间的操作步骤
2022-09-05 00:35:44
![](https://img.aspxhome.com/file/2023/7/a332363_0s.jpg)
Windows 11 与 macOS:哪个更快、更安全?
2023-04-26 19:21:56
![](https://img.aspxhome.com/file/2023/3/a205153_0s.jpeg)
如何避免 iOS 14 下载的应用同步到其它设备上?
2023-11-02 03:48:20
![](https://img.aspxhome.com/file/2023/0/a194450_0s.png)
PPT幻灯片图片切换效果研究
2022-06-04 02:27:55
升级Win8.1点击Setup.exe提示不支持此升级路径
2023-01-21 21:47:22
![](https://img.aspxhome.com/file/2023/28/a250561_0s.jpg)
Win11怎么设置高性能?Win11游戏高性能模式怎么设置?
2023-01-08 23:17:15
![](https://img.aspxhome.com/file/2023/1/a283703_0s.jpg)
wp8.1怎么升级到win10手机预览版 wp8.1升级win10手机预览版图文
2022-07-22 03:57:28
![](https://img.aspxhome.com/file/2023/3/a292724_0s.png)
win10系统登录界面背景是否能够更换 快速更换win10登录界面背景图片的方法
2023-05-29 01:38:58
![](https://img.aspxhome.com/file/2023/29/a261719_0s.jpg)
freebsd9.0安装教程图文详解
2023-09-12 23:02:14
![](https://img.aspxhome.com/file/2023/5/a318901_0s.jpg)
Excel怎样延长趋势线?
2022-06-30 19:36:44
![](https://img.aspxhome.com/file/2023/5/a153445_0s.png)
聊天宝如何修改名字?聊天宝修改昵称的方法
2022-05-17 18:02:30
![](https://img.aspxhome.com/file/2023/7/a332592_0s.jpg)
Win10预览版深度爆料:多用户登录界面有意思
2022-01-22 19:03:22
![](https://img.aspxhome.com/file/2023/3/a295951_0s.jpg)
Win8电脑二级网页打不开的解决方法
2023-02-22 18:49:08
![](https://img.aspxhome.com/file/2023/28/a243102_0s.jpg)
WPS excel如何快速标红相同项
2022-09-11 13:36:34
![](https://img.aspxhome.com/file/2023/9/a185589_0s.jpg)