PC Review


Reply
Thread Tools Rate Thread

Counting specific word occurences in a cell

 
 
=?Utf-8?B?S2VuUmFtb3NrYQ==?=
Guest
Posts: n/a
 
      3rd Aug 2006
Hi,
I have some data people put into cells.

For example I had 500 responses. I want to know how many cells have the word
SHRINK in them. Not all 500 people had trouble with Shrink. So in their
paragraph that they typed in the cell they may have mentioned shrink and I
would like to count it.
I tried =countif(A1:A500,"SHRINK") but that didn't work. Is there a way
that Excel can look at a number of words in a cell and just pick out the one.
Shrink is never mentioned more than once in a cell but there are other words
in that cell.

thanks
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      3rd Aug 2006
=COUNTIF(A1:A500,"*Shrink*")

--
HTH

Bob Phillips

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

"KenRamoska" <(E-Mail Removed)> wrote in message
news:10DC1738-4E45-4933-804B-(E-Mail Removed)...
> Hi,
> I have some data people put into cells.
>
> For example I had 500 responses. I want to know how many cells have the

word
> SHRINK in them. Not all 500 people had trouble with Shrink. So in their
> paragraph that they typed in the cell they may have mentioned shrink and I
> would like to count it.
> I tried =countif(A1:A500,"SHRINK") but that didn't work. Is there a way
> that Excel can look at a number of words in a cell and just pick out the

one.
> Shrink is never mentioned more than once in a cell but there are other

words
> in that cell.
>
> thanks



 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      3rd Aug 2006
Try this:

=COUNTIF(A1:A500,"*shrink*")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"KenRamoska" <(E-Mail Removed)> wrote in message
news:10DC1738-4E45-4933-804B-(E-Mail Removed)...
> Hi,
> I have some data people put into cells.
>
> For example I had 500 responses. I want to know how many cells have the
> word
> SHRINK in them. Not all 500 people had trouble with Shrink. So in their
> paragraph that they typed in the cell they may have mentioned shrink and I
> would like to count it.
> I tried =countif(A1:A500,"SHRINK") but that didn't work. Is there a way
> that Excel can look at a number of words in a cell and just pick out the
> one.
> Shrink is never mentioned more than once in a cell but there are other
> words
> in that cell.
>
> thanks


 
Reply With Quote
 
Maistrye
Guest
Posts: n/a
 
      3rd Aug 2006

KenRamoska Wrote:
> Hi,
> I have some data people put into cells.
>
> For example I had 500 responses. I want to know how many cells have the
> word
> SHRINK in them. Not all 500 people had trouble with Shrink. So in
> their
> paragraph that they typed in the cell they may have mentioned shrink
> and I
> would like to count it.
> I tried =countif(A1:A500,"SHRINK") but that didn't work. Is there a
> way
> that Excel can look at a number of words in a cell and just pick out
> the one.
> Shrink is never mentioned more than once in a cell but there are other
> words
> in that cell.
>
> thanks


Try:

Case Sensitive:
=SUMPRODUCT(--NOT(ISERROR(FIND("Shrink",A1:A500,1))))

Case Insensitive:
=SUMPRODUCT(--NOT(ISERROR(SEARCH("Shrink",A1:A500,1))))

Scott


--
Maistrye
------------------------------------------------------------------------
Maistrye's Profile: http://www.excelforum.com/member.php...o&userid=36078
View this thread: http://www.excelforum.com/showthread...hreadid=568029

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting occurences specific month appears MM Microsoft Excel Worksheet Functions 4 4th May 2010 04:27 PM
counting occurences of month on a specific worksheet MM Microsoft Excel Worksheet Functions 1 3rd May 2010 09:06 PM
Counting occurences of a specific day between two dates =?Utf-8?B?Y29hbF9taW5lcg==?= Microsoft Excel Worksheet Functions 1 20th Apr 2005 03:37 PM
Searching for a specific word in a table and counting the occurences. DiamondMan Microsoft Excel Worksheet Functions 0 22nd Sep 2004 01:46 PM
Searching for a specific word in a table and counting the occurences. DiamondMan Microsoft Excel Worksheet Functions 3 21st Sep 2004 10:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:16 PM.