TEXT & DATA CLEANUP · ORIGINAL EXERCISE
Sweep the dust
Remove extra spaces from the raw name in A2 with TRIM.
This quest practices TRIM using a fictional business dataset. Read the sheet below, then enter the interactive quest to write and check your formula.
| Raw name | Code | City | Imported amount | |
|---|---|---|---|---|
| aRI stone | ORD-NY-204 | ARI@EXAMPLE.COM | New-York | 1200 |
| bea moon | ORD-LA-105 | BEA@EXAMPLE.COM | Los-Angeles | 850 |
| CAM reed | ORD-NY-306 | CAM@EXAMPLE.COM | New-York | 940 |
| dev fox | ORD-AT-107 | DEV@EXAMPLE.COM | Atlanta | 650 |
Hints to get you started
- TRIM removes outer spaces and repeated ordinary spaces.
- The raw name is in A2.
- Pass A2 into TRIM.
Show the worked solution
=TRIM(A2)TRIM leaves single spaces between words. It does not remove every Unicode whitespace character.
Make the skill stick
After solving the task, explain what each reference does and why the formula answers the business question. Try the workbook download inside the quest to practice in your own spreadsheet app.
Explore the rest of this region →