How to normalize inconsistent spelling in Excel file with +1000 rows?

temeraire007

New Member
Joined
Jan 19, 2024
Messages
2
Hi folks,
I have an Excel file on which I want to run some analysis (sum if, count if, etc.). However the problem is my data set is inconsistent with abbreviations, spelling mistakes, etc. So for example (Germany, Deutschland, GER, germany, gerany,...)
How can I align and harmonize this?
Thanks
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
could you share you file or a sample (XL2BB or upload file to cloud storage and post link) of it and explain what result you want in each case?
 
Upvote 0
I have trouble uploading for some reason but here an example:

ValueTargeted outcome
Germany Germany
germanyGermany
GERGermany
DEGermany
geranyGermany
 
Upvote 0
You could try a lookup table with all the different values and the corresponding country
Like so:
Where D1:E5 is your lookup table which you will need to complete

Libro1
ABCDE
1CountryCorrect country Lookup solutionInputOutput
2GermanyGermanyGermanyGermany
3germanyGermanyGERGermany
4GERGermanyDEGermany
5DEGermanygeranyGermany
6geranyGermany
Hoja1
Cell Formulas
RangeFormula
B2:B6B2=XLOOKUP(A2,Tabla1[Input],Tabla1[Output])
 
Upvote 0
There is also a couple of tools you can use. They are not perfect, but for me for large files like +5K data entries saved some time.
DataNormalizer (Online solution, so no need to download anything, got quiet good results quickly)
OpenRefine (will have to download the tool but its really powerful to automate)
TableAnalyzer (tool from Microsoft but I think only works for MicrosoftAccess)
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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