Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Avoiding counting the same cell twice JRD Excel Worksheet Functions 2 September 10th 06 10:35 PM
Counting unique values giantwolf Excel Discussion (Misc queries) 4 August 28th 06 01:31 PM
conditional counting with Excel LeicaElmar Excel Worksheet Functions 1 October 17th 05 10:23 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting... Patrick G Excel Worksheet Functions 3 February 23rd 05 10:05 PM


All times are GMT +1. The time now is 12:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"