I have a single column where each cell contains multiple words in any order.
I need to find which group of N words in a cell exist in the greatest number of rows (or cells for this 1-column case).
Example: (using letters for simplicity)
In the data below, each row of letters is one cell.
I want to determine which 3 letters in a cell exist in the greatest number of cells?
I believe B, E, and F (rows 1, 3 and last row).
Edit: (also B, F, H in rows 1, 4 and last row - discovered later)
F H E B A
D B A G
E B A F C
B H C F
C G D
D F A H
G E F D
C B H D A
B H F E D
Like this example, each cell contains only a few words (maybe 10 max), but there are many different words and hundreds of rows, however all the words could be extracted and individually listed if necessary, e.g. used in a lookup table, separate array, etc.
Any insights appreciated!
Bookmarks