Lessons / Data quality · Lesson 3 of 3
Cleanup audit
Combine TRIM and IF without rewriting source data.
- 1See itThe worked example.
- 2Try itIn a real sheet. Hints if you need them.
- 3Do it on your ownWithout hints, to make the skill strong.
B2=IF(LEN(A2)=LEN(TRIM(A2)),"Tidy","Stray spaces")
| Row | A | B |
|---|---|---|
| 1 | Street | Status |
| 2 | Harbour Road | |
| 3 | Mill Lane |
Compare the text with its tidy version, and leave the source alone.
The exercises in this lesson are part of Pro
Pro isn’t on sale yet. The worked example is open to everyone.
Practise it
5 exercisesNext lesson · Applied reporting
Open the lessonRevenue summary
Produce a compact three-metric summary.