2019-01-24 14.1统计函数(Subtotal)

14.1统计函数(Subtotal)

[if !supportLists]· [endif]一、基本用法

[if !supportLists]· [endif]显示公式说明

[if !supportLists]· [endif]=SUBTOTAL(1,B2:B8) 平均值

[if !supportLists]· [endif]=SUBTOTAL(2,B2:B8) 统计个数

[if !supportLists]· [endif]=SUBTOTAL(3,B2:B8) 非空单元格数量

[if !supportLists]· [endif]=SUBTOTAL(4,B2:B8) 最大值

[if !supportLists]· [endif]=SUBTOTAL(5,B2:B8) 最小值

[if !supportLists]· [endif]=SUBTOTAL(6,B2:B8) 括号内数据的乘积

[if !supportLists]· [endif]=SUBTOTAL(7,B2:B8) 标准偏差

[if !supportLists]· [endif]=SUBTOTAL(8,B2:B8) 标准偏差

[if !supportLists]· [endif]=SUBTOTAL(9,B2:B8) 求和

[if !supportLists]· [endif]二、Subtotal隐藏值

[if !supportLists]· [endif]9-SUM.S(含隐藏值)

[if !supportLists]· [endif]109-SUM.S(不含隐藏值)

[if !supportLists]· [endif]三、Subtotal与Sum的区别

[if !supportLists]· [endif]显示公式

[if !supportLists]· [endif]=SUBTOTAL(9,B2:B8) 统计个数

[if !supportLists]· [endif]=SUM(B2:B8) 非空单元格数量

[if !supportLists]· [endif]注意:

[if !supportLists]· [endif]SUBTOTAL,只对筛选数据结果数据进行求和

[if !supportLists]· [endif]SUM,不受筛选结果影响,会对所有数据进行求和

[if !supportLists]· [endif]四、Subtotal计数

[if !supportLists]· [endif]显示公式

[if !supportLists]· [endif]=SUBTOTAL(2,B2:B8)

[if !supportLists]· [endif]=SUBTOTAL(3,B2:B8)

[if !supportLists]· [endif]注意:

[if !supportLists]· [endif]COUNT 返回包含数字以及包含参数列表中的数字的单元格的个数

[if !supportLists]· [endif]COUNTA 返回参数列表中非空值的单元格个数

[if !supportLists]· [endif]五、筛选后填充

[if !supportLists]· [endif]=SUBTOTAL(3,$B$2:B2)

[if !supportLists]· [endif]注意:

[if !supportLists]· [endif]COUNT 返回包含数字以及包含参数列表中的数字的单元格的个数

[if !supportLists]· [endif]COUNTA 返回参数列表中非空值的单元格个数

[if !supportLists]· [endif]六、避开同类计算

[if !supportLists]· [endif]SUBTOTAL函数遇到同类就避开了,就是不会统计由SUBTOTAL计算出来的数值。


©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容