Excel
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

  1. Check the structure. Use one header row, one record per row, and one field per column. Remove merged cells from the analysis range.
  2. 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.
  3. Check spaces. Use a helper column with =TRIM(A2) for unwanted ordinary spaces. Review the result before replacing the original values.
  4. Check duplicates. Highlight potential duplicates first. Decide which fields identify a unique record before using Data → Remove Duplicates.
  5. Check blanks. Filter the relevant columns for blanks. Investigate missing data; do not automatically replace it with zero.
  6. Convert to a table. Press Ctrl + T, confirm the headers, and give the table a meaningful name.
  7. 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.

IDNameAmount
101 Sara 120
102Omar80
102Omar80
103Lina(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 →