count

H

harry

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?
 
B

Biff

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
 
Top