计算非空值的行 [英] Count rows with not empty value
本文介绍了计算非空值的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Google 电子表格中:如何计算给定区域中具有值的行?到目前为止,我发现的所有有关此提示的公式都会计算具有非空内容(包括公式)但带有
In a Google Spreadsheet: How can I count the rows of a given area that have a value? All hints about this I found up to now lead to formulas that do count the rows which have a not empty content (including formula), but a cell with
=IF(1=2;"";"") // Shows an empty cell
也算在内.
这个简单任务的解决方案是什么?
What is the solution to this simple task?
推荐答案
使用函数CountBlank"创建另一列来确定引用的单元格是否为空白.然后对在新的CountBlank"列中创建的值使用计数.
Make another column that determines if the referenced cell is blank using the function "CountBlank". Then use count on the values created in the new "CountBlank" column.
这篇关于计算非空值的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文