+ Reply to Thread
Results 1 to 6 of 6

count most common words

  1. #1
    Registered User
    Join Date
    05-28-2015
    Location
    london
    MS-Off Ver
    mac
    Posts
    8

    count most common words

    Hi

    I need to rank most common words from a questionnaire with open ended answers .
    example there are 6000 rows with open ended answers. i just need to report on most occurring words.

    can anyone help?

    many thanks

    Asparagus
    yams, mashed potatoes, cauli,
    Cauliflower
    Cauliflower.
    beans
    mashed and squash
    red cabbage and chestnuts
    Asparagus
    capsicum, beans, peas, sweet potato, pumpkin
    squash, corn
    green beans
    green beans
    Pumpkin sweet potato peas
    Boiled potatoes
    Yams
    Sweet potato, beans
    Boiled potatoes
    Potato salad, green leaves salad
    Mashed potatoes
    sweet potatoes
    mashed potatoes, squash and asparagus
    Peas corn
    zucchini, asparagus
    Sweet potato
    sweet potatoes cooked with onions and apple
    Lots of sides
    Sweet potato
    Onions
    soup
    Corn

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: count most common words

    Hi.

    So sometimes there'll be just one entry in a cell and sometimes multiple entries can appear in a single cell?

    If multiple, what are the possible separators? Looking at your list, I would guess that it's either a comma or else the word "and". Are there any more?

    How many do you wish to return? Top 10 most common?

    I think posting an actual workbook with an example plus your expected results would be very helpful.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: count most common words

    looking at your list I believe you will need to do a lot of hand work with it. I'd copy it to another sheet then do a text to columns then take each column and use remove duplicates and combine columns until you end up with one column without duplicates. Then if you want cauli to be considered the same as cauliflower then you'd need to do clean up. Then use countif for the different columns you broke it into.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    05-28-2015
    Location
    london
    MS-Off Ver
    mac
    Posts
    8

    Re: count most common words

    Hi there are multiple separators. I cant attach the file as it is too large. I would like the top 30 if possible

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: count most common words

    Without knowing precisely what those separators are it will be almost impossible to help you.

    Re attaching a file, it doesn't have to be your actual file. I'm sure you would be more than willing to create a mocked-up, reduced version with dummy data to help support your query.

    Regards

  6. #6
    Forum Contributor
    Join Date
    12-13-2013
    Location
    Calgary,AB,Canada
    MS-Off Ver
    2016,O365
    Posts
    236

    Re: count most common words

    I guess you are checking which item in the menu the customer liked to order. if yes, my suggestion is that provide another list of the item in the menu, that will be more easier to give out the answer.

+ 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. Most Common Words in a Column
    By bbarth in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-07-2015, 12:16 PM
  2. Deleting sentences that has at least 4 words in common
    By sami770 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2014, 04:59 AM
  3. Identify Common Words (and combination of)
    By ItsMeH in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 05:53 PM
  4. [SOLVED] Extract the most common words taken N at a time
    By Buzzed Aldrin in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-14-2012, 05:55 PM
  5. Removing Common Words using a UDF
    By Padster in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2011, 05:53 AM
  6. remove common English words
    By finlander in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 06-08-2011, 02:11 PM
  7. Using SUMIF on common words
    By Dodge in forum Excel General
    Replies: 5
    Last Post: 05-18-2005, 04:06 PM

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