COUNTIF formula

J

John Sullivan

I have a formula =COUNTIF(B7:B37,0) but I need it to only
count the number of rows in which any kind of text
appears. For example, if out of 31 rows, text appears in
10 of the rows, I would want the number "10" to appear as
the result. How do I do this?
 
H

Harlan Grove

One, of several, ways
=COUNTA(B6:B18)-COUNT(B6:B18)
...

Picky: your formula includes boolean and error values as well as text. The
strictly text count is given by

=SUMPRODUCT(--ISTEXT(B6:B18))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top