Counting "Question Marks"

  • Thread starter Thread starter Robin Blackwell
  • Start date Start date
R

Robin Blackwell

Hi all, is there a simple function that will allow me to count the number of
"?" in a column of data? I have a longish column that contains only "y",
"n",blanks, or "?". I can use COUNTIF functions to count the number of "y"
and "n", COUNTBLANK to count the number of blank cells, but if I enter a
COUNTIF using "?", it returns a count of all cells containing data. Help
please! Regards, Robin
 
=COUNTIF(A:A,"~?")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
It is an escape character, it tells Excel not to treat the following
character as a special character (? is the single wildcard character) but as
a normal ASCII character.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Thankyou Bob, for sharing the knowledge.

Shail

Bob said:
It is an escape character, it tells Excel not to treat the following
character as a special character (? is the single wildcard character) but as
a normal ASCII character.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Back
Top