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

TRIM function in Google Sheets

In cell G2, enter exactly this formula to demonstrate TRIM: =TRIM(" Sheet Steps ").

Verified by JosephineAbout 60 seconds
Quick answer

In cell G2, enter exactly this formula to demonstrate TRIM: =TRIM(" Sheet Steps ").

Step-by-step

1

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

2

TRIM functionIn cell G2, enter exactly this formula to demonstrate TRIM: =TRIM(" Sheet Steps ").

3

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

Shortcut or faster method

Select the target cell, type or paste the formula in the formula bar, then press Enter.

Expected result

G2 contains the requested TRIM formula and displays Sheet Steps.

Common mistake

Applying the change to more rows, columns, or cells than the task specifies.

Troubleshooting

Re-select G2 and repeat the final action. G2 contains the requested TRIM formula and displays Sheet Steps.

Example spreadsheet data

This is the clean fixture used for the verified run.

RegionStatusScoreNotes
NorthOpen8
SouthClosed5
EastOpen2
WestClosed9

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. TRIM function. In cell G2, enter exactly this formula to demonstrate TRIM: =TRIM(" Sheet Steps ").
  4. Check the result. Compare the finished sheet with the expected result and correct the target range if needed.
  5. G2 contains the requested TRIM formula and displays Sheet Steps.