IntermediateData Cleaning
Standardise messy codes with TRIM and UPPER
Clean inconsistent spacing and casing so values can be matched.
7 min25 points
An overnight import ran twice and nobody is sure how much of it doubled up. Before anyone starts deleting rows, the duplicated order numbers need marking so the team can check them against the warehouse.
| Row number | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Order | Flag | |||
| 2 | SO-8100 | ||||
| 3 | SO-8101 | ||||
| 4 | SO-8102 | ||||
| 5 | SO-8100 | ||||
| 6 | SO-8103 | ||||
| 7 | SO-8104 | ||||
| 8 | SO-8102 | ||||
| 9 | SO-8105 | ||||
| 10 |
Use COUNTIF to reconcile two lists and spot what is absent.
COUNTIF · IF
Use absolute references so a lookup does not break when copied down a column.
XLOOKUP
Use IF to label each rep as meeting or missing their target.
IF