I need to extract unique strings from excel cells.
I have a spreadsheet with 2 columns each cell in the column contains a long text string.
That long text string is composed of several strings i need to extract. each individual string is of variable lenght but there is always a pattern for example:
apple: pineapple: tomatoe: carrot:
apple: carrot: potatoe:
pear: apple: lettuce: pepper: fish: brocolli:
Each cell's string can contain one or 100 repetitions of the pattern.
each row (and there can be up to 600000 rows) will contain various strings but there will be some repetition.
My goal is to parse the cells and come up with a unique list of strings:
apple, carrot, tomatoe, pineapple, potatoe, pear, lettuce, pepper, fish, brocolli.
I'm thinking i'll need some sort of macro to accomplish this but i have no idea where to startWhat i'm doing manually right now is copy the first unique string i see to a separate workbook, then run a replace all with blank to get rid of all other instances of the string until eventually I have a list of uniques in a separate spreadsheet and no strings in my source
Bookmarks