Day 2 · Session One
Prepare and Clean Data
Start with a reliable table before you calculate or summarize. Keep an original copy and record any changes you make.
A practical cleaning sequence
- Check the structure. Use one header row, one record per row, and one field per column. Remove merged cells from the analysis range.
- Check types. Confirm numbers and dates are stored consistently. Apply a suitable format, but remember that formatting alone does not convert text into a number or date.
- Check spaces. Use a helper column with
=TRIM(A2)for unwanted ordinary spaces. Review the result before replacing the original values. - Check duplicates. Highlight potential duplicates first. Decide which fields identify a unique record before using Data → Remove Duplicates.
- Check blanks. Filter the relevant columns for blanks. Investigate missing data; do not automatically replace it with zero.
- Convert to a table. Press Ctrl + T, confirm the headers, and give the table a meaningful name.
- Reconcile. Compare the record count and totals before and after cleaning. Explain legitimate changes.
Try this without a download
Create this small sample in a blank worksheet. The spaces around the first name are intentional.
| ID | Name | Amount |
|---|---|---|
| 101 | Sara | 120 |
| 102 | Omar | 80 |
| 102 | Omar | 80 |
| 103 | Lina | (leave blank) |
Trim the names in a helper column. Highlight duplicate IDs, then remove one duplicate row after confirming it repeats the same record. Flag Lina’s missing amount for follow-up. The result should contain three records and a known-amount total of 200; that total remains incomplete until the missing amount is resolved.
Error-check checklist
- Headers, record count, and data types checked.
- Duplicates reviewed using the appropriate record key.
- Missing values identified and explained.
- Formulas checked on at least one record manually.
- Totals reconciled and original data retained.
End of Excel section
Check your understanding
Complete a 12-question quiz with instant feedback. No results are saved.
Take the Excel quiz →