Preparing your learning space...
20% through AI Data Cleaning tutorials
Dirty data usually means two things: the same record appears more than once, and important cells are empty. This tutorial shows how to find and remove duplicate rows and how to fill missing values the right way — with classic Excel tools and a little help from AI.
What it is. Removing rows that appear more than once — either fully identical rows or rows that match on the columns you choose — while keeping one copy.
Why it is useful. A customer who shows up twice looks like two customers. Duplicates inflate totals, double-count in pivot tables, and make AI models learn the wrong patterns.
How to do it.
Example.
| Order ID | Customer | City |
|---|---|---|
| 101 | John | Austin |
| 102 | Sara | Dallas |
| 103 | John | Austin |
Select the table → Data → Remove Duplicates → check only Customer → OK. Excel keeps the first John and drops row 103. Two rows remain.
Explanation. By ticking only Customer, you told Excel: "any customer who appears more than once is a duplicate." Tick nothing, and it removes only rows that are identical in every column.
The UNIQUE function. For a clean list without the originals, use =UNIQUE(A2:A100) to extract one copy of each value into a spill range.
Let AI do it. With Copilot: select the table and type "Remove duplicate customers." Copilot previews the rows it wants to delete before you apply.
Notes. Make a habit of checking the row count before and after — the difference tells you exactly how many rows you removed.
Common mistake. Removing duplicates on the whole table when you meant to check one column. Remember: checked columns = the columns that define "same".
What it is. Deciding what to do with empty cells so the dataset is complete and usable.
Why it is useful. Blank cells break formulas, confuse sort and filter, and can't be used by most AI tools. But filling them blindly is just as bad — a made-up number is still wrong data.
Your options.
Fill down (the classic trick).
=, press the Up arrow, then press Ctrl + Enter.Every blank now holds the value from the cell above.
Example.
| Region | Sales |
|---|---|
| North | 100 |
| (blank) | 80 |
| South | 60 |
Select A2:A4, do the Go To Special trick. The blank becomes "North".
Explanation. Go To Special selects only the blanks; typing = plus the Up arrow says "copy the cell above"; Ctrl + Enter applies it to all selected blanks at once.
Fill with a formula. =IF(A2="", "Unknown", A2) replaces blanks with "Unknown" without touching the original data.
Let AI do it. Copilot can fill blanks intelligently — for example "Fill missing cities using the postal codes." It understands context that a plain 0 cannot.
Best practice. Always ask why the data is missing before filling. A blank "Income" is different from a blank "Notes". Fill, average, and 0 are three different answers.
Common mistake. Setting every blank to 0 or to the average. Both invent data and both skew your analysis. Only fill when you have a defensible reason.
Save your progress and earn XP for completing tutorials.
3 questions · Pass with 70%+
1A table has two "John" rows that differ only in Order ID. You want to remove the duplicate customer. What do you do?
2A column has blanks that should repeat the value directly above. The fastest correct move:
3You find blanks in a "Sales" column. Before filling, the safest first step is:
Keep learning
Technology
Excel with AI
Lesson group
AI Data Cleaning
Progress
20% complete