Lab › Data Cleaning › Clean Messy Names
Clean Messy Names: Excel Lab
Lab 15 · BeginnerTRIMPROPER
The task: Names came in with extra spaces and MIXED case. Make them clean: one space, first letter capital.
1 Watch how it is done
Step 1: TRIM the spaces, PROPER the case
=PROPER(TRIM(A4))- Click B4.
- Type =PROPER(TRIM(A4)) and press Enter.
- TRIM removes extra spaces. PROPER makes the first letter of each word capital.
- Drag the fill handle down.
2 Your turn
Download the practice file. It has new numbers. Open it in Excel (or Google Sheets) and do the same steps.
3 Check your answers
Stuck? Download the solution file and compare it with yours.
Next lab: Make Email IDs →
Want the theory? Read the Data Cleaning lessons →
← More Data Cleaning labs · All lab categories