Data Cleaningbeginner
Remove extra spaces from text with TRIM
=TRIM(A2)
Worked examples (1)
These formulas work in Google Sheets with identical syntax.
Also in Excel
See the full TRIM reference for Excel — including all worked examples, common errors, and FAQ.
TRIM Excel reference →