ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting "Question Marks" (https://www.excelbanter.com/excel-worksheet-functions/117753-counting-question-marks.html)

Robin Blackwell

Counting "Question Marks"
 
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



Bob Phillips

Counting "Question Marks"
 
=COUNTIF(A:A,"~?")

--
HTH

Bob Phillips

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

"Robin Blackwell" wrote in message
...
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





Robin Blackwell

Counting "Question Marks"
 
Many thanks Bob!


"Bob Phillips" wrote in message
...
=COUNTIF(A:A,"~?")

--
HTH

Bob Phillips

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

"Robin Blackwell" wrote in message
...
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







shail

Counting "Question Marks"
 
Hi Bob,

What does "~" do here?

Thankyou

Shail


Bob Phillips wrote:
=COUNTIF(A:A,"~?")

--
HTH

Bob Phillips

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

"Robin Blackwell" wrote in message
...
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




Bob Phillips

Counting "Question Marks"
 
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)

"shail" wrote in message
oups.com...
Hi Bob,

What does "~" do here?

Thankyou

Shail


Bob Phillips wrote:
=COUNTIF(A:A,"~?")

--
HTH

Bob Phillips

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

"Robin Blackwell" wrote in message
...
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






shail

Counting "Question Marks"
 
Thankyou Bob, for sharing the knowledge.

Shail

Bob Phillips wrote:
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)

"shail" wrote in message
oups.com...
Hi Bob,

What does "~" do here?

Thankyou

Shail


Bob Phillips wrote:
=COUNTIF(A:A,"~?")

--
HTH

Bob Phillips

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

"Robin Blackwell" wrote in message
...
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






All times are GMT +1. The time now is 07:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com