r/dataanalytics • u/AcaTwo • 1d ago
Efficient way to clean data. Spelling concern
Hello, cleaning data is quite okay but I am looking for recommendations to efficiently clean my data in regard to spelling concerns because it is killing me in the long run huhu.
Background and Data description: I work in a logistics firm and our company records our customer and the customer of our customer (they are called shippers). My job is to track who are our top shippers but shippers column in my Data has so many spelling mistake. For example, Oracle turned into "oRale" or "Oracle Interprises" or "Orcle Inc". This is not just 1 or 50 shippers, I deal with around 500+ rows and checking it one by one is killing me.
This is what I do:
Step 1: I put =UNIQUE() function in excel to filter each UNIQUE values in my data and correct them individually using Find and Replace (Ctlr + H). I also do validation midway because sometimes Two similar names company turn out to be different. For example, you first thought Kalo and Kailo are just a spelling mistake but when you check into the details on what product they ship (called commodities). Kalo shipped Hardware Materials and Kailo shipped Frozen Poducts. So I really have to be careful with the data cleaning and I have to utilize the internet for this to verify that such company exists. Also, Kalo can be Kalu, Kailo, Kolo or etc because of spelling mistakes so I have to utilize with the other details and same problem with Kailo.
Again, this happens to most shippers in my data, not just 1 or 2.
Step 2: I use =UNIQUE again to check my spelling mistakes done by ME in the process.
Step 3: I use =XLOOKUP to input those corrections.
And FINALLY THE DATA IS CLEANED.
This is so inconvenient specially when the business is blooming (it means I will be cleaning data with more rows) and I am the only data analyst here in our company. I also tried utilizing Excel power query for this but the problem is that I have to do the Step 1 first because we do not have a masterfile (a file where the corrections or the list of our shippers). Shippers are different most of the time as well.
I tried utilizing AI but my company does not have premium access to COPILOT (yes we use copilot). Also AI cannot really search and verify company names because some businesses are just Low-key and hard to find so I really have to manually verify small companies (and there are a lot of them).
Any suggestion to efficiently increase my workflow? I really need help and I will be very happy if you help me on this regard. THANK YOU VERY MUCH <3
1
u/0uchmyballs 1d ago
Data cleaning and labeling is a huge part of analysis. You’d be better off using Python Pandas to take care of a lot of these labeling issues imo, although excel is acceptable.
1
u/Awesome_Correlation 8h ago
I would just start there. Create your own master file based on the work you've already done. Then, you only have to take action when you come across something that's not already in the file.
The second step would be to solve the problem further upstream.