Lessons / Data quality · Lesson 2 of 3
Duplicate detection
Use a dynamic count to distinguish duplicate and unique IDs.
- 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.
C2=IF(COUNTIF($B$2:$B$4,B2)>1,"Repeat","Once")
| Row | A | B | C |
|---|---|---|---|
| 1 | Visitor | Badge | Check |
| 2 | Kai | 701 | |
| 3 | Lea | 702 | |
| 4 | Max | 701 |
Count how often the value appears. More than once means a repeat.
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 · Data quality
Open the lessonCleanup audit
Check whether imported text is already clean.