Decomposing Text Strings

DoctorZoom

New Member
Joined
Jan 19, 2016
Messages
13
Hi folks,

I'm looking to search a specific field in from our trouble tickets - which is a free form text field entered by our agents and is always unique since they are writing in their own words what the customer is reporting.

I have the ability to break these tickets into high level categories but there are still thousands of tickets per day per category.

When trying to determine why we have a spike in tickets or when trying to do a deeper dive into a specific category, I need to be able to find the most common text strings within the field.

I was working with Fishboy but we only got so far.

http://www.mrexcel.com/forum/excel-...t-common-words-phrases-field.html#post4402083

He pointed out some code at:
Find/Count Most Common Words & Phrases In List

But my issue is similar to the 2nd post there that was never answered:

How do I break down the row into larger chunks than just the individual words?

For example, if my row was A B C - I want to return:

A - 1
B - 1
C - 1
A B - 1
B C - 1
A B C - 1

(AC could work but if that is too complicated, then just words that are consecutive)

Or if the row was "The Small Red Fox" - I'm looking to return the following 10 rows:

The
Small
Red
Fox
The Small
Small Red
Red Fox
The Small Red
Small Red Fox
The Small Red Fox

This would help tremendously in finding the most common customer problems from the free form text field entered by our agents.

Ideally a solution that doesn't use VBA would be best but if I need to use, that will be fine but I need to take what exists in the post (in link) to do this further step of breaking out "phrases"

Thanks for your help!
John
 
Still haven't solved the problem.

Please go to the site I provided and put a paragraph or two of text (from anywhere) and you will see the output. That is the exact output I am looking for but I need to do this in Excel and for thousands of cells.

Thanks!
I did go to that site and test what it did. I don't think trying to reproduce something like that falls into the realm of what you might expect from a free public forum like this. At least not for me.
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,215,507
Messages
6,125,207
Members
449,214
Latest member
mr_ordinaryboy

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