counta in array formula not working

B

Bruce

Hi,

My series B13:B20 contains zero's and text values. I wish to count the text
values but not zero's or blanks.

I have tried the following as an array but its counting all cells in range
with the result = 8 which is not correct (as there are zeros and balnks in
the series).

=COUNTA(IF(B13:B20<>0,"A",0))

Any ideas?

Bruce
 
T

Tom Hutchins

How about
=SUMPRODUCT(--(LEN(B13:B20)>0),--(B13:B20<>0))

Hope this helps,

Hutch
 
R

Rick Rothstein \(MVP - VB\)

Does this do what you want?

=COUNTA(B13:B20)-COUNT(B13:B20)

Rick
 
T

T. Valko

I wish to count the text values but not zero's or blanks

If blanks means empty cells:

=COUNTIF(B13:B20,"*")
 

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

Similar Threads


Top