TRIM Function

Written by kazamraza no comments
Classified in : Excel Formulas, Text Functions Tags : none

Removes all spaces from text except for single spaces between words. Use TRIM on text that you have received from another application that may have irregular spacing.

Syntax


TRIM(text)

The TRIM function syntax has the following arguments:

  • Text Required. The text from which you want spaces removed.
A B C D E
1 Data Formula Result Description  
2 Kazam Raza =TRIM(A2) Kazam Raza Removes leading and trailing spaces from the text  
3   =TRIM(" Kazam Raza ") Kazam Raza Removes leading and trailing spaces from the text  
4          

 

.