count

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have put * on some values to differiante these from other values. i need to
count how many value are with * but * is special character which count all
the text values. if i can count these values if yes how?
 
Hi!

If you want to count the number of cells that contain *:

Where:

A1 = *25* = 1

=COUNTIF(A1:A10,"*~**")

If you want to count the number of *'s in a range of cells:

Where:

A1 = *25* = 2

=SUMPRODUCT(LEN(A1:A10)-LEN(SUBSTITUTE(A1:A10,"*","")))

Biff
 

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

Back
Top