Data Cleaning in Excel
Data Cleaning in Excel
Data Cleaning
in Excel
02 codebasics.io
INTRODUCTION
Data is a fundamental element in every industry today, and the quality of
your data significantly impacts the reliability of the insights you derive from
it.
Excel remains a popular tool used by many for a variety of tasks, including
data analysis, financial modeling, and more. Its comprehensive set of
features ensures that users can maintain clean and reliable data.
This guide teaches beginners easy data cleaning methods in Excel, with
clear examples for quick application and results.
03 codebasics.io
1 Finding Duplicates
Duplicates can mess up your analysis by giving you wrong results.
Excel can help you find and get rid of these repeated entries, making
sure your data is unique.
Example:
Imagine you have a list of email addresses, and some are repeated.
Excel can find these repeats for you.
How to Do It:
Example:
If your sales data has missing values, there are several techniques to
address them, such as using mean, median, standard values, or more
sophisticated methods. The best approach depends on the specific
context of your business data.
How to Do It:
Use functions like “IF” or use “Go To Special” (Ctrl+G) to find and
replace empty spots with an average number or a note like "No Data."
05 codebasics.io
Example:
If some cells under "Product Code" are empty, you'll need to fill or
remove these.
How to Do It:
Example:
You have full names in one cell and want to split them into first and
last names.
How to Do It:
Example:
Some names are all uppercase, others are lowercase or mixed.
How to Do It:
Example:
If "Manager" is often misspelled as "Manger," you can fix it
throughout your dataset.
Example:
There are unwanted spaces around some words in a column.
How to Do It:
Use =TRIM(A1), which removes extra spaces from around the text in
cell A1.
10 codebasics.io
8 Combining Data
Sometimes, you need to put data from several cells into one, or
combine data from different sheets. This makes your data easier to
manage.
Example:
You need to combine first and last names into one full name.
How to Do It:
Use the CONCATENATE function or the “&” operator, like =A1 & " " & B1,
to merge data from cells A1 and B1 with a space between them.
11 codebasics.io
CONCLUSION
While cleaning data in Excel can be effective for one-time tasks, wouldn't it
be amazing to automate the process for future datasets? Enter Power
Query! This powerful tool lets you clean data efficiently and consistently,
saving you time and ensuring clean data for every analysis. Stay tuned for
our upcoming resource on Power Query for data cleaning – it'll revolutionize
your workflow!
E n a b l i n g C a r e e r s
SCAN TO JOIN
codebasics.io