google docs计数包含任何文本的单元格 [英] google docs count cells that contain any text

查看:169
本文介绍了google docs计数包含任何文本的单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想对包含范围内的任何内容的单元格进行计数。
任何包含文本或数字或其他内容的单元格应在我的结果单元格中加一个。
我发现这个功能,

I want to count the cells, that contain anything within a range. Any cell that contain text, or numbers or something else should do a plus one in my result-cell. I found this function,

countif(range; criteria) 

但这不适合我,因为我不知道要在标准中输入什么。
如何做?

but this dont work for me, because i dont know what to type in the criteria. How to do this?

推荐答案

您可以通过<>(包括引号)作为标准的参数。这基本上说,只要它不是空的/空白的,就算了。我相信这是你想要的。

You can pass "<>" (including the quotes) as the parameter for criteria. This basically says, as long as its not empty/blank, count it. I believe this is what you want.

=COUNTIF(A1:A10; "<>") 

否则,您可以使用 CountA 作为Scott建议

Otherwise you can use CountA as Scott suggests

这篇关于google docs计数包含任何文本的单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆