Top Occuring Phrases/Words in a Column

default_name

Board Regular
Joined
May 16, 2018
Messages
180
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Hello,

I have a very large database of items of different names and descriptions.
Some items are similar to others (ie: cable type X, blue, 3ft or cable type X, green, 9ft, or heat shrink sleeve,clear,55cm or main wire assembly,mft,out)

I have been browsing around online (including other threads here on this board), trying to find a way to implement similar functionality that this website has with strings of text:
https://www.online-utility.org/text/analyzer.jsp

This website outputs the "top phrases containing 8 words (without punctuation marks)", then 7 words, 6, words, etc, including a list of the single word occurrences.
But I would only be interested in:
top 30 "phrases containing 3 words (without punctuation marks)"
top 30 "phrases containing 2 words (without punctuation marks)"
as well as the top 50 most occurring words in the column

I have seen a similar method which involves INDEX and MATCH but that seems like overkill for a large spreadsheet.
Is there a VBA method that can do this?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top