Skip to content

TRIM function in Excel

TRIM removes extra spaces.

Syntax

=TRIM(text)
ArgumentRequired?What it is
textRequiredThe text or cell to work with.

Practise TRIM in a live spreadsheet

Type the formula yourself and get it graded instantly, no Excel needed.