如何让列表选择Excel中的所有非空白单元格? [英] How do I get countifs to select all non-blank cells in Excel?

查看:580
本文介绍了如何让列表选择Excel中的所有非空白单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取 countifs 以选择所有非空白单元格?
我有两个其他条件,所以使用 counta 不是一个选项。

How do I get countifs to select all non-blank cells? I have two other criteria, so using counta alone is not an option.

使用 istext 使结果始终为0。
使用<>作为标准时,Excel会出现错误。

Using istext makes the result give 0, always. Excel gives an error when using <>"" as a criterion.

推荐答案

使用条件<"。它将会计数任何不是空单元格,包括 #NAME?#DIV / 0!。至于为什么它的工作,如果我知道死了,但Excel似乎明白了。

Use a criteria of "<>". It will count anything which isn't an empty cell, including #NAME? or #DIV/0!. As to why it works, damned if I know, but Excel seems to understand it.


注意 Google电子表格

这篇关于如何让列表选择Excel中的所有非空白单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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