TOP

Remove extra spaces at the beginning, end and middle of the text

Text > Remove leading, trailing and excessive spaces

This utility removes all spaces except single spaces between words in selected cells.

All spaces at the beginning and end of each cell value will be removed, and all repeated spaces will be replaced with a single space.

For example, the value "   Lennox  Street   141 " will be replaced by "Lennox Street 141" .

This utility is a fast alternative to the LO Calc =TRIM() function.


Screenshot

To use the utility:

Text > Remove leading, trailing and excessive spaces

After use:

Text > Remove leading, trailing and excessive spaces

Launch this tool

Click YLC Utilities > Text > Remove leading, trailing and excessive spaces :

Text › Remove extra spaces at the beginning, end and middle of the text

Do you recognize any of these situations?

Decision

Just select the cells and then choose the following tool from the LO Calc menu:

YLC Utilities » Text » Remove leading, trailing and excessive spaces

  1. Leading and trailing spaces will be removed.
  2. Non-standard intervals, extra spaces between words will be replaced by one space.
  3. Non-breaking spaces are also processed.
  4. Cells with spaces will be empty.
  5. Empty cells will become truly empty cells that LO Calc recognizes.

How much time will it save?

Using this tool, you are guaranteed to save time and effort. However, the actual time savings depends on how often you use LibreOffice Calc, the amount of data you work with, and how often you use the tool.

Download

If you don't already have YLC Utilities, you can download the free version "YouLibreCalc.oxt" or the full-featured version "YLC_Utilities.oxt" .


Additional keywords for this tool:
trim, double space, extra spaces, remove extra spaces, unnecessary spaces, consecutive spaces, reduce internal spaces to one space, spaces, remove extra spaces between two words in a character string, =TRIM() , extra spaces, clear empty cells, fix empty cells that LO Calc does not recognize as empty, fix empty cells, spaces, remove unnecessary spaces from a cell