TRIM (function to remove spaces in text) in Excel
When the data you copy or download online appears a lot of redundant white space, you will lose a lot of time if you manually remove the white space. The TRIM function will help you eliminate spaces quickly with a lot of data.
TRIM (function to remove spaces in text) in Excel Picture 1
The article describes the syntax and usage of the TRIM function in Excel.
Description
The TRIM function is a function that removes all spaces in the input text and keeps a space between words.
You can use this when the text contains a lot of redundant space.
The TRIM function only removes 7-bit ASCII space characters from text, not nonbreaking spaces. This character is often used in web pages as HTML elements.
Syntax
= TRIM (text)
Inside:
text is the text, the text should remove spaces, required parameters. You can enter text or reference directly.
For example
- Remove spaces in the text "Nguyen Van A"
TRIM (function to remove spaces in text) in Excel Picture 2
- Remove whitespace values in text:
TRIM (function to remove spaces in text) in Excel Picture 3
Thus, the article introduced syntax and examples to help you understand how to use the TRIM function. The way to use TRIM is very simple but effective, it will save you a lot of time processing documents. Good luck!
You should read it
- Instructions on how to count words in cells in Excel
- How to use the function to delete spaces in Excel
- How to remove spaces in Excel
- Save time with these text formatting functions in Microsoft Excel
- How to Remove Spaces Between Characters and Numbers in Excel
- How to remove extra spaces and spaces in Word
- Basic Excel functions that anyone must know
- How to remove extra spaces, remove extra spaces, extra lines in Word
- How to separate text strings by commas or spaces in Excel
- How to use the LEN function in Excel
- Tips to remove extra spaces between words in Microsoft Word
- How to create space after comma in Excel
May be interested
DEVSQ function in Excel The function returns the sum of squares of deviations between data points from their average
PROPER function in Excel
REPLACE and REPLACEB (replace part of the input text string) in Excel
The UNICHAR () and UNICODE () functions in Excel
LEN () and LENB () functions in Excel
RIGHT () and RIGHTB () functions in Excel