计算范围内的填充单元数 [英] Count number of populated cells in range
本文介绍了计算范围内的填充单元数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何计算已填充的单元格的数量(文本/数字或文本+数字的组合)?
How do I count the number of populated cells (with text/number or combinations of text+number)?
我尝试了=countif(A2:A2000,1=1)
(使用一般条件,例如始终为1 = 1),但文本列显示为零(0).
I tried =countif(A2:A2000,1=1)
(with a general criteria, e.g. 1=1 always) but shows zero (0) for a text column.
推荐答案
公式为=COUNTA(A2:A2000)
:计算非空白单元格.
The formula is =COUNTA(A2:A2000)
: non-blank cells are counted.
这篇关于计算范围内的填充单元数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文