Macro To Find Most Common Combinations of two Words in 100k Rows

abhishek_singhal

New Member
Joined
Oct 9, 2014
Messages
4
Hi

I have 100k rows with some data in them which are some kind of questions. I want know the most common (single)sets of words in each question. For more clarity about my question please go through this example:-

[TABLE="width: 293"]
<colgroup><col></colgroup><tbody>[TR]
[TD]What is the law of physics?
[/TD]
[/TR]
[TR]
[TD]What is law of thermodynamics in physics?
[/TD]
[/TR]
[TR]
[TD]What is the law of quantum energy in physics?
[/TD]
[/TR]
[TR]
[TD]What is the law of gravity in physics?
[/TD]
[/TR]
[TR]
[TD]Laws of motion in Physics?
[/TD]
[/TR]
</tbody>[/TABLE]

In all above rows LAW and PHYSICS is common , so I want a macro that will give me these two words. And of course what, which, why will be their as well so they needs to be neglected. More words like is,are, the, of etc etc.

Is this is possible to do this through macro, if yes then please help me.

Thanks in advance.

Abhishek
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,223,262
Messages
6,171,080
Members
452,377
Latest member
bradfordsam

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