+ Reply to Thread
Results 1 to 8 of 8

Counting How many times a word apears in a range

  1. #1
    Registered User
    Join Date
    08-07-2017
    Location
    Pittsburgh
    MS-Off Ver
    MS Office PC 2013
    Posts
    9

    Counting How many times a word apears in a range

    How can I count how many time a word appears in a range of cells, if there is more than one word in the cell.

    For example (reference the attached): Counting how many times "pump" appears in the list attached. Or "flowmeter"? Given there are other words/numbers in the cell along with the specified word I am not sure how exactly to write the formula.
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,856

    Re: Counting How many times a word apears in a range

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-07-2017
    Location
    Pittsburgh
    MS-Off Ver
    MS Office PC 2013
    Posts
    9

    Re: Counting How many times a word apears in a range

    Attached is a sample workbook.
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Counting How many times a word apears in a range

    You can use countif and wildcards

    =COUNTIF(B2:B6,"*pump*")
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    08-07-2017
    Location
    Pittsburgh
    MS-Off Ver
    MS Office PC 2013
    Posts
    9

    Re: Counting How many times a word apears in a range

    Thank you.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,856

    Re: Counting How many times a word apears in a range

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Registered User
    Join Date
    08-07-2017
    Location
    Pittsburgh
    MS-Off Ver
    MS Office PC 2013
    Posts
    9

    Re: Counting How many times a word apears in a range

    What about if the refrenced word is a cell.

    For instance =COUNTIF(range, "B3") and B3 contains pump

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Counting How many times a word apears in a range

    =COUNTIF(range, "*" & B3 & "*")
    Entia non sunt multiplicanda sine necessitate

+ 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. Counting the number of times a word appears with a twist
    By laurigardner in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-02-2017, 12:37 AM
  2. Count how many times a number apears in random cells
    By ian.seethal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-16-2014, 06:52 AM
  3. Return howmany times each name apears in a colum
    By CORELS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-09-2013, 10:35 AM
  4. Counting number of times a word appears across worksheets
    By danltd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2012, 04:33 AM
  5. Replies: 19
    Last Post: 05-26-2011, 04:15 PM
  6. Counting the number of times a word appears 'anywhere' on a page
    By Brother Laz in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-17-2006, 10:10 AM
  7. [SOLVED] [SOLVED] Counting the number of times a word appears in a worksheet
    By Jig Bhakta in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2005, 11:06 PM

Tags for this Thread

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