EXCEL TRIM FUNCTION

This method removes unnecessary spaces from the beginning and conclusion of text. TRIM eliminates unnecessary spaces from text, leaving just single spaces between words and no space characters at the beginning or conclusion.

Syntax:

=TRIM (text)

Parameter list:

  • text – The text from which excess space should be removed.

Step By Step Guide of TRIM Function

Example :

  • When cleaning up text that has been added from other software, TRIM comes in handy. Also, before employing a VLOOKUP function, use TRIM to remove any excess leading and trailing spaces.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now