Search for text to group into categories

imaguy77

New Member
Joined
Aug 26, 2008
Messages
21
Hi all,

Here's my problem:

I have a list of 1200 sub-accounts, and I want to group them into parent accounts Based on similar text with the sub-account name. For example, one vendor may have 30 different accounts that all have "Amazon" somewhere in the account name. Amazon India, Amazon China, Amazon.ca, etc. I'm envisioning somehow having a lookup table like the one below, and doing some sort of search function to see which parent category each account fits into. The second table's 2nd column would be the desired output based on subaccount name. Any idea how to do this?



Lookup table:
Search TextIDParent Category
Amazon1Amazon.com
B&N2Barnes & Noble
Pearson3Pearson

<tbody>
</tbody>

Data table:
SubaccountParent Account (this column I want to fill in like below):
Pearson-aPearson
Pearson-bPearson
Pearson-cPearson
Pearson-dPearson
Amazon ChinaAmazon.com
Amazon IndiaAmazon.com

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Watch MrExcel Video

Forum statistics

Threads
1,122,206
Messages
5,594,833
Members
413,943
Latest member
Dhornsby21

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
Top