Changing multiple variations of names into one name

Boomexcel

New Member
Joined
Mar 2, 2018
Messages
1
Hello all, I've heard this is a very helpful group of individuals and hopefully you can help me solve my issue. Also, sorry if this is answered somewhere, I have hard time searching this situation.

I currently run a report each day containing training data for multiple companies. The issue that I have is the website where the training is hosted, allows the employees to write out their company names when submitting their info. Because of this, I am left with multiple variations of the company's name in my file. The variations can be due to a mix of lowercase/uppercase, adding/not adding punctuation, misspellings, etc. This makes it difficult when I pull this data into a pivot table or try to organize it since I can have so many variations of the same company name.

What I would like to do is have something setup in the file that would allow me to either fix the variations so I ended up with one consistent name or have it so there is a separate column that feeds the variations into and spits out my singular name.

For example:
For the company Woodcutting International (how I would like it to appear), I may see Woodcutting international, woodcutting international, Woodcutting Int, Woodcutting Int., Wodcutting International.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi. Maybe try to make a lookup table so you can lookup the different names to produce a single name?

Woodcutting Int.Woodcutting International
Woodcutting IntWoodcutting International
Wodcutting InternationalWoodcutting International

<colgroup><col style="mso-width-source:userset;mso-width-alt:6363; width:131pt" width="174" span="2"> </colgroup><tbody>
[TD="width: 174"]Woodcutting international[/TD]
[TD="width: 174"]Woodcutting International[/TD]

</tbody>

Then you can create a new column with a vlookup and use that in your pivot table.
 
Upvote 0
There are many ways to do this. The most versatile is to use REGEX in VBA. That is also the most advanced. You can easily use fuzzy matching or convert both source and destination using UPPER() to ignore case. There are so many ways to do this you really need to give it a try and show us what you are doing. Show us the data and show us how you are trying to use it.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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