Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default COUNTIF limitations, alternatives?

I'm entering the results of a survey into Excel. The answer to one of the
questions was a number from 1-6. I entered all the data, then used COUNTIF
to tell me how many respondents entered 1, how many 2, how many 3, etc.

Now I'm getting the next survey coming back, almost the same results, but
respondents are allowed to tick multiple boxes. So someone may enter 1 and 4
and 6 to the same question!

Can I enter something like 1,4,6 in the same column and still get a
breakdown of how many respondents ticked each number? I don't think COUNTIF
can handle this.

TIA

Steve

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default COUNTIF limitations, alternatives?

use multiple columns and sum multiple COUNTIFs

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Steve" wrote in message ...
| I'm entering the results of a survey into Excel. The answer to one of the
| questions was a number from 1-6. I entered all the data, then used COUNTIF
| to tell me how many respondents entered 1, how many 2, how many 3, etc.
|
| Now I'm getting the next survey coming back, almost the same results, but
| respondents are allowed to tick multiple boxes. So someone may enter 1 and 4
| and 6 to the same question!
|
| Can I enter something like 1,4,6 in the same column and still get a
| breakdown of how many respondents ticked each number? I don't think COUNTIF
| can handle this.
|
| TIA
|
| Steve
|


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default COUNTIF limitations, alternatives?

=SUMPRODUCT((COUNTIF(A:A,{1,4,6})))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Steve" wrote in message
...
I'm entering the results of a survey into Excel. The answer to one of the
questions was a number from 1-6. I entered all the data, then used
COUNTIF
to tell me how many respondents entered 1, how many 2, how many 3, etc.

Now I'm getting the next survey coming back, almost the same results, but
respondents are allowed to tick multiple boxes. So someone may enter 1
and 4
and 6 to the same question!

Can I enter something like 1,4,6 in the same column and still get a
breakdown of how many respondents ticked each number? I don't think
COUNTIF
can handle this.

TIA

Steve



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default COUNTIF limitations, alternatives?

Bob, you obviously can't substitute in for the 1,4,6 Cells F1, F2,
F3(containing the 1,4 and 6).

"Bob Phillips" wrote:

=SUMPRODUCT((COUNTIF(A:A,{1,4,6})))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Steve" wrote in message
...
I'm entering the results of a survey into Excel. The answer to one of the
questions was a number from 1-6. I entered all the data, then used
COUNTIF
to tell me how many respondents entered 1, how many 2, how many 3, etc.

Now I'm getting the next survey coming back, almost the same results, but
respondents are allowed to tick multiple boxes. So someone may enter 1
and 4
and 6 to the same question!

Can I enter something like 1,4,6 in the same column and still get a
breakdown of how many respondents ticked each number? I don't think
COUNTIF
can handle this.

TIA

Steve




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default COUNTIF limitations, alternatives?

Yeah you can

=SUMPRODUCT((COUNTIF(A:A,F1:F3)))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Jim May" wrote in message
...
Bob, you obviously can't substitute in for the 1,4,6 Cells F1, F2,
F3(containing the 1,4 and 6).

"Bob Phillips" wrote:

=SUMPRODUCT((COUNTIF(A:A,{1,4,6})))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Steve" wrote in message
...
I'm entering the results of a survey into Excel. The answer to one of
the
questions was a number from 1-6. I entered all the data, then used
COUNTIF
to tell me how many respondents entered 1, how many 2, how many 3, etc.

Now I'm getting the next survey coming back, almost the same results,
but
respondents are allowed to tick multiple boxes. So someone may enter 1
and 4
and 6 to the same question!

Can I enter something like 1,4,6 in the same column and still get a
breakdown of how many respondents ticked each number? I don't think
COUNTIF
can handle this.

TIA

Steve








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 762
Default COUNTIF limitations, alternatives?

Steve -

Regarding alternatives: If you want to use a pivot table to summarize
results, you should change your "database" to have six columns of tick vs.
no tick for that question's responses instead of having only one column for
the original mutually exclusive response.

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel


"Steve" wrote in message
...
I'm entering the results of a survey into Excel. The answer to one of the
questions was a number from 1-6. I entered all the data, then used
COUNTIF
to tell me how many respondents entered 1, how many 2, how many 3, etc.

Now I'm getting the next survey coming back, almost the same results, but
respondents are allowed to tick multiple boxes. So someone may enter 1
and 4
and 6 to the same question!

Can I enter something like 1,4,6 in the same column and still get a
breakdown of how many respondents ticked each number? I don't think
COUNTIF
can handle this.

TIA

Steve



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
Alternatives to GET.CELL and VB? whitehurst Excel Worksheet Functions 9 May 24th 06 08:50 PM
What are the alternatives ??? christopherp Excel Discussion (Misc queries) 4 March 19th 06 02:39 PM
Alternatives to Excel Spider Excel Discussion (Misc queries) 2 March 1st 05 01:03 PM
Pocket Excel Alternatives? MB7 Excel Discussion (Misc queries) 0 February 16th 05 04:03 PM


All times are GMT +1. The time now is 02:10 PM.

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"