Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Avoiding counting the same cell twice | Excel Worksheet Functions | |||
Counting unique values | Excel Discussion (Misc queries) | |||
conditional counting with Excel | Excel Worksheet Functions | |||
Counting rows, then counting values. | Excel Discussion (Misc queries) | |||
Counting... | Excel Worksheet Functions |