Reputation: 2060
If I use COUNTA(range)
, it counts cells with the empty string (""). How do I avoid this? COUNTIFS(range,"<>"&"")
doesn't seem to work.
Upvotes: 9
Views: 4723
Reputation: 96753
For column A, cells A1 through A100 try:
=SUMPRODUCT(--(A1:A100<>""))
Upvotes: 5