Sample Data
This data shows names with extra spaces before or after the text in column A. Column B uses the TRIM function to clean these names by removing extra spaces.
| Cell | Value |
|---|---|
| A1 | John |
| A2 | Mary |
| A3 | Bob |
| A4 | Alice |
| B1 | =TRIM(A1) |
| B2 | =TRIM(A2) |
| B3 | =TRIM(A3) |
| B4 | =TRIM(A4) |