Data prep practice (TRIM, split, clean exports)

Practice cleaning messy exports—trim spaces, drop blanks, split codes—before lookups. Links into the data prep lab and worksheets.

Dirty exports break VLOOKUP and XLOOKUP. Practice the workflow (not a Power Query engine) in the data prep lab once seeded, or use the messy export worksheet.

Messy sample

Raw
ACME-Ada
beta-Bob
Gamma-Chen
(blank row)

Exercise 1 — TRIM

Clean each Raw value with =TRIM(A2).

Exercise 2 — drop blanks

Remove empty rows before you look anything up.

Exercise 3 — split code / name

Split on - into Code and Name columns (Text to Columns or LEFT/RIGHT).

Exercise 4 — then look up

After cleanup, match codes with XLOOKUP practice or INDEX MATCH practice.

Related

Excel practice hub · Free lessons · Blog