Real data has several problems at once. A name can have stray spaces and the wrong case in the same cell. Instead of two helper columns, you nest TRIM inside PROPER and clean everything in a single formula.
The following exercise shows you how to chain cleaning functions in one formula.
What you will practice in this exercise
You work on a messy customer list. You answer 4 questions, one formula per question:
- Clean a last name: spaces and case (PROPER + TRIM)
- Clean a first name
- Full name “First name Last name”, cleaned
- A cleaned email in lower case (LOWER + TRIM)
Practice with exercises
Related articles
All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.