+ Reply to Thread
Results 1 to 5 of 5

Count if a word appears

  1. #1
    Registered User
    Join Date
    07-21-2022
    Location
    Murcia, Spain
    MS-Off Ver
    Microsoft 365 apps for business
    Posts
    42

    Count if a word appears

    I m trying to work out how to look at a range of text in a column and work out how many times each word appears, I have tried the countif function but it only counts words that are in a cell without any others. I have attached an example of what I am trying to do.

    Any help would be apprciated!
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,103

    Re: Count if a word appears

    Use wild character:

    =COUNTIF($A:$A, "*"&D1&"*")

    Note: This would calculate (for example) "ini" in Mini as a word. it will also count "Strip" as 1 in string "None, Reeses Shelf Strip, Hershey Shelf Strip, Clip Strips, Mini's Rail Defender, Pieces Rail Defender"
    Last edited by zbor; 09-25-2023 at 09:14 AM.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,946

    Re: Count if a word appears

    Try this, copied across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    07-21-2022
    Location
    Murcia, Spain
    MS-Off Ver
    Microsoft 365 apps for business
    Posts
    42

    Re: Count if a word appears

    Great thank you very much this seems to have worked!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,946

    Re: Count if a word appears

    Doh. Over-engineered again. But interesting

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count the number of times a letter appears next to a word.
    By Turfgreen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2020, 10:05 PM
  2. [SOLVED] Using count if formula only when a certain text word appears in a different column
    By dianaCatz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2019, 12:32 AM
  3. [SOLVED] count number of times a word appears
    By m_789 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-19-2013, 10:16 AM
  4. [SOLVED] formula to count how many times a word appears in a row for a date
    By Megatronixs in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-27-2012, 03:57 AM
  5. [SOLVED] Count how many times certain word appears in column
    By micko_escalade in forum Excel General
    Replies: 4
    Last Post: 08-16-2012, 07:55 PM
  6. Count how many certain word appears with spaces
    By micko_escalade in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-23-2007, 01:56 AM
  7. [SOLVED] Count how many times the same word appears in column
    By Alexa in forum Excel General
    Replies: 5
    Last Post: 04-16-2005, 11:07 AM

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