Formulas > =TRIM()
How to Use TRIM() in Google Sheets
Description
How To Actually Use TRIM() in Sheets
TRIM(text)
Try TRIM yourself
Use the TRIM formula to remove leading and trailing spaces from the text in cells A1:A10. The result should be displayed in the corresponding cells in B1:B10.
Hints (2)
-
Remember to apply the formula to each cell in the range.
-
You can drag the fill handle to copy the formula down.
1 Better Sheets Tutorial
Clean Up Names in a List
More related tutorials
Transcript-matched member videos for TRIM(). Click through to watch.
REGEXMATCH Formula Generator for Google Sheets
Write Apps Script to Create a New Google Sheets Formula
One Weird Google Sheet Formula for Bulk Publishing With AI
Create a Trello Board with Transpose Formula in Google Sheets
Learn more about the TRIM() formula:
Generate a TRIM() formula for your needs
Describe your task in plain English and get a paste-ready formula that uses TRIM(). 2 free AI generations, no signup. Members get unlimited use.
Generate a TRIM() formula