【问题标题】:excel formula: return true if none of the cells in the range are blankexcel公式:如果范围内没有单元格为空白,则返回true
【发布时间】:2017-02-22 09:43:36
【问题描述】:

如果单元格范围 (A2:K2) 不包含任何空格,我想返回 true。因此,给定范围内的所有单元格都必须包含某些内容。

我可以计算包含某些内容的单元格的数量,但我不确定下一步该怎么做?

=SUMPRODUCT((LEN(A2:K2)>0)*1)

【问题讨论】:

    标签: excel if-statement count excel-formula notnull


    【解决方案1】:

    使用COUNTBLANK 结合IF 公式计算空白单元格:

    =IF(COUNTBLANK(A2:K2)=0,TRUE,FALSE)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-03-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多