Excel Countif不等于字符串长度零 [英] Excel Countif Not equal to string length of zero

查看:251
本文介绍了Excel Countif不等于字符串长度零的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个iferror公式,如果发生错误,该公式将放入。这是一个零长度的字符串。如果不等于,我想计算一下。

I have a formula an iferror formula that puts in "" if an error occurs. This is a zero length string. I'd like to do a count if not equal to "".

=countif(A:A,<>"") 'is not a valid formulas
=countif(A:A,"<>") 'checks for actual blanks, not zero length strings


推荐答案

使用以下方法对空单元格进行计数:

Do a count for empty cells using:

=COUNTBLANK(A2:B5)

并从总数中减去该值。

这篇关于Excel Countif不等于字符串长度零的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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