+ Reply to Thread
Results 1 to 10 of 10

Trying to count a range of multiple words in a spreadsheet

  1. #1
    Registered User
    Join Date
    12-17-2009
    Location
    Kirkcaldy, Scotland
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2201) 64-bit
    Posts
    81

    Trying to count a range of multiple words in a spreadsheet

    I have no idea if this can be done or not so hoping someone can show me how to do it or tell me it simply can't be done.

    I have attached a sample workbook to help explain what I am looking for - if there is an easy way to do this could someone please add the formula to the sheet for me?

    If you can imagine something like an Argos catalogue and the amount of product descriptions in that I am trying to figure a way to include common words to help customers identify the page number the product is on.

    I figure one way would be to identify words found on most product titles to help identify which words to include in the index.

    So on the attachment yo will see I am hoping for a formula that can count and list all the various words that are included in a column. I know I could do somethign similar if I swas wanting to count the number of times a single word appeasrs but unsure how to do it for everything listed?

    Any thoughts/suggestions/answers would be greatly appreciated.
    Attached Files Attached Files

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

    Re: Trying to count a range of multiple words in a spreadsheet

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.

    Try this:

    =COUNTIF($B$2:$B$11,"*"&E9&"*")
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-17-2009
    Location
    Kirkcaldy, Scotland
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2201) 64-bit
    Posts
    81

    Re: Trying to count a range of multiple words in a spreadsheet

    Microsoft® Excel® for Microsoft 365 MSO (Version 2201 Build 16.0.14827.20158) 64-bit

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,767

    Re: Trying to count a range of multiple words in a spreadsheet

    Thanks. Please update your PROFILE.

    Did the solution I offered help?
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    12-17-2009
    Location
    Kirkcaldy, Scotland
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2201) 64-bit
    Posts
    81

    Re: Trying to count a range of multiple words in a spreadsheet

    Thanks Ali - it half helps - I need a way to show the full list of individual words too (I literally just typed in the individual words into column E based on what I could see in column B) so need a way to add this list for it to be able to lookup as per your formula? I'll update my profile shortly

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

    Re: Trying to count a range of multiple words in a spreadsheet

    This can be done with PowerQuery (Get & Transform on the Data ribbon).

    Load the source table into PQ and use the following M Code:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-17-2009
    Location
    Kirkcaldy, Scotland
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2201) 64-bit
    Posts
    81

    Re: Trying to count a range of multiple words in a spreadsheet

    Never heard of a powerquery - (I only do basic excel as you can probably tell lol) - will see if I can figure out how to do that thanks

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,767

    Re: Trying to count a range of multiple words in a spreadsheet

    There are a couple of helpful links in the signature line of my opening post to this thread. Shout if you get stuck.

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Trying to count a range of multiple words in a spreadsheet

    This needs VBA code.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,767

    Re: Trying to count a range of multiple words in a spreadsheet

    No, it doesn't. I have just shown that it can be done with PowerQuery and a formula!!!

+ 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. [SOLVED] Count words based on first 2 characters of words separated by a comma in a range
    By IS MOOSA in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-21-2021, 09:09 AM
  2. Count words in a range
    By Stan Denman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2020, 03:31 AM
  3. Replies: 9
    Last Post: 04-01-2020, 03:29 AM
  4. [SOLVED] Count rows that contain range of words until it reaches a row that is not in the range
    By JoeHayes89 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-04-2016, 12:46 PM
  5. How to count number of specific words in a spreadsheet
    By Idler in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 11
    Last Post: 12-06-2015, 07:18 PM
  6. Replies: 2
    Last Post: 12-06-2015, 11:49 AM
  7. Replies: 8
    Last Post: 05-14-2012, 02:44 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