Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dj dj is offline
external usenet poster
 
Posts: 92
Default Counting occurences of text

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default Counting occurences of text

If your range of answers is in A1 to A1000 then use 4 COUNTIF formulae in 4
other cells

=COUNTIF(A1:A1000,"very good")
=COUNTIF(A1:A1000,"good")
=COUNTIF(A1:A1000,"not good")
=COUNTIF(A1:A1000,"not good at all")

"DJ" wrote:

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Counting occurences of text

Without seeing the data it would be difficult to suggest but will the below
work?

=COUNTIF(A:A,"*good*")-COUNTIF(A:A,"*not*")

OR
'count all responses minus count entries having not, bad etc;
=COUNTA(A:A)-COUNTIF(A:A,"*not*")

If this post helps click Yes
---------------
Jacob Skaria


"DJ" wrote:

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ

  #4   Report Post  
Posted to microsoft.public.excel.misc
dj dj is offline
external usenet poster
 
Posts: 92
Default Counting occurences of text

Thanks but didn't work - here is formula I have -
=SUMPRODUCT(--(ISNUMBER(SEARCH("good",raw_data!$E$2:$E$8002))*(--(ISNUMBER(SEARCH(B4,LEFT(raw_data!$W$2:$W$8002,2)) ))))).

What I am trying to do is match how many people said GOOD (for example) from
a particular division column W. If I put in countif it messes it up...

--
DJ


"Jacob Skaria" wrote:

Without seeing the data it would be difficult to suggest but will the below
work?

=COUNTIF(A:A,"*good*")-COUNTIF(A:A,"*not*")

OR
'count all responses minus count entries having not, bad etc;
=COUNTA(A:A)-COUNTIF(A:A,"*not*")

If this post helps click Yes
---------------
Jacob Skaria


"DJ" wrote:

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Counting occurences of text

--Without seeing the data you have in ColW; it is difficult to analyze why
the formula is not working. With cell B4 = 'NY' and with the below data in
ColE and ColW the formula returns the count of entries having a "good" and
which start with 'NY' in ColW. Is that what you meant?

=SUMPRODUCT(--(ISNUMBER(SEARCH("good",raw_data!$E$2:$E$8002))*(--(ISNUMBER(SEARCH(B4,LEFT(raw_data!$G$2:$G$8002,2)) )))))

Col E Col W
good NY_001
very good NY_002
not good NY_003
very very good NY_004
notbad NY_004

If so you can use try the below version
=SUMPRODUCT((ISNUMBER(SEARCH("good",raw_data!$E$2: $E$8002))*(LEFT(raw_data!$W$2:$W$8002,2)=B4)))

If this post helps click Yes
---------------
Jacob Skaria


"DJ" wrote:

Thanks but didn't work - here is formula I have -
=SUMPRODUCT(--(ISNUMBER(SEARCH("good",raw_data!$E$2:$E$8002))*(--(ISNUMBER(SEARCH(B4,LEFT(raw_data!$W$2:$W$8002,2)) ))))).

What I am trying to do is match how many people said GOOD (for example) from
a particular division column W. If I put in countif it messes it up...

--
DJ


"Jacob Skaria" wrote:

Without seeing the data it would be difficult to suggest but will the below
work?

=COUNTIF(A:A,"*good*")-COUNTIF(A:A,"*not*")

OR
'count all responses minus count entries having not, bad etc;
=COUNTA(A:A)-COUNTIF(A:A,"*not*")

If this post helps click Yes
---------------
Jacob Skaria


"DJ" wrote:

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Counting occurences of text

If column W contains department names and B4 contains dept name you are
querying then

=SUMPRODUCT(--(raw_data!$E$2:$E$8002="good"),--(raw_data!$W$2:$W$8002=B4))

=SUMPRODUCT(--(raw_data!$E$2:$E$8002="very
good"),--(raw_data!$W$2:$W$8002=B4))

etc.

Regards,
Stefi

DJ ezt *rta:

Thanks but didn't work - here is formula I have -
=SUMPRODUCT(--(ISNUMBER(SEARCH("good",raw_data!$E$2:$E$8002))*(--(ISNUMBER(SEARCH(B4,LEFT(raw_data!$W$2:$W$8002,2)) ))))).

What I am trying to do is match how many people said GOOD (for example) from
a particular division column W. If I put in countif it messes it up...

--
DJ


"Jacob Skaria" wrote:

Without seeing the data it would be difficult to suggest but will the below
work?

=COUNTIF(A:A,"*good*")-COUNTIF(A:A,"*not*")

OR
'count all responses minus count entries having not, bad etc;
=COUNTA(A:A)-COUNTIF(A:A,"*not*")

If this post helps click Yes
---------------
Jacob Skaria


"DJ" wrote:

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 506
Default Counting occurences of text

Try this

=COUNTIF(A1:A50,"GOOD")
=COUNTIF(A1:A50,"VERY GOOD")

Here I have mentioned the range as A1:A50 change the cell range to your
desired Range and in Criteria I have mentioned it as "GOOD". Paste the same
formula in the next cell and change the word GOOD to "VERY GOOD". Like that
mention the keyword in the Criteria.

If this post helps, Click Yes!

--------------------
(MS-Exl-Learner)
--------------------



"DJ" wrote:

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Counting occurences of text

What is your data layout?
If very good, good, not good, not good at all are in, say column A in
separate cells like below

minős*tés
very good
good
not good
not good at all
good
good
good
not good
not good
not good
not good
not good at all
not good at all
not good at all
very good
very good
very good
very good
very good

Then
count them in this way:

Place different values in, say column B, and enter formula in C1:

=COUNTIF(A:A,B1)

Result shall look like this:

B C
very good 6
good 4
not good 5
not good at all 4

Regards,
Stefi


DJ ezt *rta:

Got huge list of responses to survey - they a very good, good, not good,
not good at all. Problem I have is that when I try to count how many instance
of say good there are sheet counts all that have good i.e. very good, not
very good etc - can anyone help me?
--
DJ

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
Counting occurences of a name [email protected] Excel Worksheet Functions 3 October 8th 07 12:52 AM
Counting Occurences Formulas Daren Excel Worksheet Functions 5 September 18th 07 01:02 PM
Counting events since last occurences Tony the Bajan Excel Worksheet Functions 0 November 8th 06 05:59 PM
Counting the occurences riomarde Excel Worksheet Functions 1 March 27th 06 09:00 PM
Counting Occurences Pete Excel Discussion (Misc queries) 7 May 2nd 05 08:28 PM


All times are GMT +1. The time now is 05:06 PM.

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

About Us

"It's about Microsoft Excel"