Skip to main content
Course

Project: clean a customer list

Take a messy customer export and make it usable: tidy the names, split each customer code into country and store, build labels, flag who to reward or follow up, look up country names safely and sort customers into tiers.

Exercise 1 of 8

Step 1: tidy the names

This customer list came out of an old system: the names in column B have stray spaces and random capitals. In E2:E9, clean them with TRIM inside PROPER.

CodeName (export)OrdersSpent ($)Name
US-NYC-0412 olivia REED122,480.00
US-CHI-0587james carter 3640.00
CA-TOR-0633SOFIA PATEL71,350.00
GB-LON-0718 liam brooks1180.00
AU-SYD-0804emma hughes5980.00
US-BOS-0951NOAH bennett 92,150.00
GB-MAN-1026ava collins1420.00
IE-DUB-1139 aoife BYRNE41,120.00
CountryCountry name
USUnited States
CACanada
GBUnited Kingdom
AUAustralia