countif, sumif

L

lucy

i need to count how many somethings are in a column,
which contains only text. so, i need to know how many
items are in column c, rows 2-10. what do i do?
 
A

anonymous

=SUMPRODUCT(--(ISTEXT(C1:C15)),--(C1:C15<>""))

=SUMPRODUCT(--(ISTEXT(C1:C15)),--(LEN(C1:C15)>0))
 
P

Patti

Oops -- sorry! I misunderstood -- I thought the column
only contained text -- this one won't work!
 
M

Myrna Larson

Do you just mean the count of non-blank cells? If so, =COUNTA(C2:C10). Or do
you mean the count of cells that contain some particular text entry. If the
latter, =COUNTIF(C2:C10,"abc")
 

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