Sample Data
Column A has messy text with extra spaces. Column B uses TRIM to clean spaces.
| Cell | Value |
|---|---|
| A1 | Hello |
| A2 | World! |
| A3 | Goo gle Sheets |
| B1 | =TRIM(A1) |
| B2 | =TRIM(A2) |
| B3 | =TRIM(A3) |
Column A has messy text with extra spaces. Column B uses TRIM to clean spaces.
| Cell | Value |
|---|---|
| A1 | Hello |
| A2 | World! |
| A3 | Goo gle Sheets |
| B1 | =TRIM(A1) |
| B2 | =TRIM(A2) |
| B3 | =TRIM(A3) |
=TRIM(A3)A B 1 | ' Hello ' | =TRIM(A1) 2 | 'World! ' | =TRIM(A2) 3 | ' Goo gle Sheets ' | =TRIM(A3)
A B 1 | ' Hello ' | 'Hello' 2 | 'World! ' | 'World!' 3 | ' Goo gle Sheets ' | 'Goo gle Sheets'