Counta函数真好用,自动编号、排序、统计数据等不在话下
时间:2023-06-21 13:48:00
Counta函数是统计函数,应用好的话,有很多实用的技巧。今天就给大家分享counta函数的应用,自动编号,排序,统计人数等。
1、counta函数基本应用
Counta函数的使用方法是:COUNTA(参数1,参数2,参数3……) 用于计算区域中非空单元格的个数。
2、自动添加可更新编号
平时在单元格中进行编号的时候,当删除一个行编号,下面的编号不会自动更新,而使用counta函数进行编号,会自动更新编号。函数公式:=COUNTA($B$2:B2)。
3、组内/合并单元格排序
当我们需要对合并的单元格进行排序,也就是一组一组排序,如何操作呢?先添加一列辅助列,并在单元格中输入公式=COUNTA($A$2:A2)*10^4+C2,之后选中编号后的三列数据区域,点击数据-排序,在界面上选中辅助列,点击确定,完成组内排序。
4、统计户主人数
在表格中需要统计每户人家有几口人,很简单,使用counta函数和if函数相结合。输入公式:=IF(A2="户主",COUNTA(B2:B13)-SUM(C3:C13),""),向下填充,就能在户主的单元格中统计每户人口。
以上就是给大家分享counta函数的使用技巧,希望可以帮助到大家!
标签:Counta函数,Excel函数,函数,编号
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
wps表格怎样给单元格数据添加有效性
2023-08-22 10:23:15
PowerPoint2010转换为视频的方法图解教程
2023-04-11 19:26:50
高手教你如何知道Word里面的字数
2023-10-17 09:05:21
![](https://img.aspxhome.com/file/2023/9/24599_0s.jpg)
笔记本Windows7无法修改系统时间的应对方案
2023-10-14 18:06:03
![](https://img.aspxhome.com/file/2023/27/a233523_0s.jpg)
win10系统登录背景如何更换
2023-09-02 12:19:14
![](https://img.aspxhome.com/file/2023/3/a299679_0s.png)
Win10安装补丁出现800706d9错误怎么解决
2023-03-10 20:43:22
![](https://img.aspxhome.com/file/2023/2/a287212_0s.jpg)
Win10如何关闭防火墙端口?禁用防火墙端口方法
2022-10-10 02:00:31
![](https://img.aspxhome.com/file/2023/30/a271485_0s.jpg)
excel公式复制的教程
2022-12-30 21:55:01
wps office字怎么变成竖版
2023-08-30 23:46:55
![](https://img.aspxhome.com/file/2023/3/a168413_0s.png)
电脑怎么设置局域网工作组?
2022-01-15 05:32:17
![](https://img.aspxhome.com/file/2023/2/a285081_0s.png)
Win11上如何将HTML文件批量转换为PDF?
2022-09-27 18:57:36
![](https://img.aspxhome.com/file/2023/27/a236684_0s.jpg)
windows7系统重置方法
2022-11-29 05:47:10
![](https://img.aspxhome.com/file/2023/1/a273343_0s.png)
Excel使用DATE和TODAY函数设计倒计时牌
2022-10-23 16:19:12
苹果 iCloud 官网有哪些改进?支持安卓设备
2023-04-02 23:27:09
![](https://img.aspxhome.com/file/2023/0/a195910_0s.jpg)
PPT备注栏不见了三种方法调出来
2023-03-28 21:59:17
![](https://img.aspxhome.com/file/2023/10/a350815_0s.png)
搜狗浏览器如何设置兼容模式?搜狗浏览器设置兼容模式的操作步骤
2023-07-18 16:47:15
![](https://img.aspxhome.com/file/2023/7/a332419_0s.jpg)
戴尔笔记本怎么进入bios设置界面?
2023-11-26 16:27:09
![](https://img.aspxhome.com/file/2023/1/a273443_0s.png)
如何添加字体到电脑WORD中
2023-11-29 21:48:32
![](https://img.aspxhome.com/file/2023/6/18616_0s.jpg)
Win7系统网上邻居的属性打不开的解决方法
2022-06-25 05:58:05
![](https://img.aspxhome.com/file/2023/4/a305662_0s.jpg)
Win7 C盘空间不足怎么解决?Win7 C盘空间不足解决方法简述
2023-09-26 00:54:53
![](https://img.aspxhome.com/file/2023/27/a230051_0s.jpg)