AdvancedData Cleaning
Reconcile a list with hidden spaces
Match two lists where one side has trailing spaces you cannot see.
COUNTIF · IF
12 min35 points
A supplier feed arrived with product codes in mixed case and padded with stray spaces. Lookups against the product master are failing because of it.
| Row number | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Raw code | Clean code | |||
| 2 | hsc-04182 | ||||
| 3 | HSC-11904 | ||||
| 4 | hsc-77213 | ||||
| 5 | |||||
| 6 |
Use LEN to validate that product codes are the right length.
LEN
Extract characters from the middle of a text value.
MID
Find rows whose order number appears more than once in the column.
COUNTIF · IF