Excel count cells in range with text

T

Tprob

I have a column of approx 500 cells containing text. I want to be abl
to count the number of cells cointaining text beginning with * fo
example. I.e. Column contains
Cell A1 = abby
Cell B1 = betty
Cell C1 = tracy
Cell D1 = *norman
Cell E1 = douglas
Cell F1 = lisa
Cell G1 = *nick

I want the formula result to be 2 as there are 2 cells with tex
beginning with *.

Can anyone assist
 
H

Harlan Grove

One way

=SUMPRODUCT(--(ISNUMBER(FIND("*",A1:G1))))
...

Unless you make that

=SUMPRODUCT(--ISNUMBER(1/(FIND("*",A1:G1)=1)))

it'll count cells with an asterisk anywhere in the cell's text rather than just
at the beginning.
 

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