TRIM
Removes extra spaces from text.
- Text and dates
- Practised in 2 lessons
Worked example
B2=TRIM(A2)
| Row | A | B |
|---|---|---|
| 1 | Typed | Tidy |
| 2 | Oak shelf | Oak shelf |
Spaces at both ends go, and runs of spaces become one.
How to write it
=TRIM(text)
text- The text to tidy.
Try TRIM yourself
Real tasks in a spreadsheet, checked on changed data. A free account saves your work and checks your answers.
Practise it freeWatch out for
- Non-breaking spaces copied from web pages are not removed.
- It changes a copy. Keep the source column until you have checked it.