How do I get countifs to select all non-blank cells in Excel?

前端 未结 7 1413

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

Using istext<

相关标签:
7条回答
  • 2020-12-08 02:27

    I find that the best way to do this is to use SUMPRODUCT instead:

    =SUMPRODUCT((A1:A10<>"")*1)
    

    It's also pretty great if you want to throw in more criteria:

    =SUMPRODUCT((A1:A10<>"")*(A1:A10>$B$1)*(A1:A10<=$B$2))
    
    0 讨论(0)
提交回复
热议问题