+ Reply to Thread
Results 1 to 4 of 4

Counting specific word occurences in a cell

  1. #1
    KenRamoska
    Guest

    Counting specific word occurences in a cell

    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

  2. #2
    Bob Phillips
    Guest

    Re: Counting specific word occurences in a cell

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

    --
    HTH

    Bob Phillips

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

    "KenRamoska" <[email protected]> wrote in message
    news:[email protected]...
    > 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




  3. #3
    Forum Contributor
    Join Date
    07-05-2006
    Location
    Canada
    MS-Off Ver
    2003, 2007
    Posts
    581
    Quote Originally Posted by KenRamoska
    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

  4. #4
    Ragdyer
    Guest

    Re: Counting specific word occurences in a cell

    Try this:

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

    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "KenRamoska" <[email protected]> wrote in message
    news:[email protected]...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1