New: ready-to-use spreadsheet templatesExplore the collection  →
Google Sheets · Verified tutorial

Clean imported text in Google Sheets

Use Data > Data cleanup > Trim whitespace on A2:A3.

Verified by PhilisAbout 60 seconds
Quick answer

Use Data > Data cleanup > Trim whitespace on A2:A3.

Step-by-step

1

Open the practice sheetUse the example data shown below so the result is easy to check.

2

Clean imported textUse Data > Data cleanup > Trim whitespace on A2:A3.

3

Check the resultCompare the finished sheet with the expected result and correct the target range if needed.

Shortcut or faster method

Use the menu path shown in the video and keep the target range selected until the change is applied.

Expected result

The imported text has normalized whitespace.

Common mistake

Starting with the wrong cell or range selected.

Troubleshooting

Re-select A2:A3 and repeat the final action. The imported text has normalized whitespace.

Example spreadsheet data

This is the clean fixture used for the verified run.

Imported text
Alpha team
Beta group

Video transcript

  1. Open the prepared Practice spreadsheet.
  2. Open the practice sheet. Use the example data shown below so the result is easy to check.
  3. Clean imported text. Use Data > Data cleanup > Trim whitespace on A2:A3.
  4. Check the result. Compare the finished sheet with the expected result and correct the target range if needed.
  5. The imported text has normalized whitespace.