Quickly remove spaces before / after text or remove extra spaces from text in Excel

Sometimes, when you operating an Excel file, you may need to delete or remove spaces before or after the text, or delete extra spaces from text. With the Remove Spaces utility of Kutools for Excel, you can quickly do following options:

Remove spaces before text string (remove leading spaces from text string)

Remove spaces after text string (remove trailing spaces from text string)

Remove leading and trailing spaces from text string

Remove extra spaces from text string

Remove all spaces from text string

Recommended Productivity Software

Office Tab: Use tabbed interface in Office as the use of web browser Chrome, Firefox and Internet Explorer.
Kutools for Excel: Adds 120 powerful new features to Excel. Increase your productivity in 5 minutes. Save two hours every day!
Classic Menu for Office: Brings back your familiar menus to Office 2007, 2010 and 2013 (includes Office 365).

arrow blue right bubble Click Kutools >> Text Tools >> Remove Spaces. See screenshots:

shot-remove-spaces1 - arrow-bigshot-remove-spaces2 -

arrow blue right bubble Remove spaces before text string (remove leading spaces from text string)

You can delete or remove spaces before text string (remove leading spaces from text string) as follows:

1. Select the range that you need to remove the leading spaces.

2. Apply this utility (click Kutools > Text Tools > Remove Spaces).

3. In the Remove Spaces dialog box, please check Leading spaces from Spaces Type. And you can preview the result in the Preview box. See screenshot:

4. Click OK or Apply. All of the leading spaces before the text string have been removed. See screenshots:

shot-remove-spaces4 - arrow-bigshot-remove-spaces5 -

Note: Click OK button will apply the operation and close the dialog box, but click Apply will only apply the operation without closing the dialog box.


arrow blue right bubble Remove spaces after text string (remove trailing spaces from text string)

Trailing spaces in text string / spaces after text string. Please see:

As you see in the above screenshot, there is a lot of space characters after the text string and beofre the cursor position. And you can delete or remove such spaces after text string (remove trailing spaces from text string) as shown in the above screenshot as follows:

1. Select the range that you need to remove the trailing spaces.

2. Apply this utility (click Kutools > Text Tools > Remove Spaces).

3. In the Remove Spaces dialog box, please check Trailing spaces from Spaces Type. See screenshot:

4. Click OK or Apply. All of the trailing spaces after the text string have been removed. See screenshots:

arrow-big

arrow blue right bubble Remove leading and trailing spaces from text string

If you want to remove or delete both the leading spaces and trailing spaces from text string, you can get it done as follows:

1. Select the range that you need to remove both the leading and trailing spaces.

2. Apply this utility (click Kutools > Text Tools > Remove Spaces).

3. In the Remove Spaces dialog box, please check Leading & Trailing spaces from Spaces Type. See screenshot:

4. Click OK or Apply. All of the trailing spaces after the text string have been removed. See screenshots:

arrow-big

arrow blue right bubble Remove extra spaces from text string

With this function, you can quickly remove extra spaces between the texts as well.

1. Select the range that you need to remove extra spaces from text.

2. Go to the Remove Spaces dialog box by clicking Kutools > Text Tools > Remove Spaces.

3. Select All excess spaces from Spaces Type, and you can preview the result in the Preview box. See screenshot:

shot-remove-spaces6

4. Click OK or Apply. All of the excess spaces between the text values have been removed. see screenshots:

shot-remove-spaces7 - arrow-bigshot-remove-spaces8

arrow blue right bubble Remove all spaces from text string

Supposing you want to remove all of the spaces between the text values, the following steps can help you quickly deal with it.

1. Highlight the range that you want to remove all spaces fro text.

2. Go to the Remove Spaces dialog box by clicking Kutools > Text Tools > Remove Spaces.

3. Select All spaces from Spaces Type, and you can preview the result in the Preview box. See screenshot:

shot-remove-spaces9

4. Click OK or Apply. All of the spaces between the text values have been removed. see screenshots:

shot-remove-spaces10arrow-bigshot-remove-spaces11

arrow blue right bubbleNote:

This utility supports Undo, and the undo is only one level.


Productivity Tools Recommended
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 120 Advanced Functions for Excel 2013, 2010, 2007 and Office 365.
Classic Menu for Office: Bring back familiar menus to Office 2007, 2010, 2013 and 365, as if it were Office 2000 and 2003.

Kutools for Excel

The functionality described above is just one of 120 powerful functions of Kutools for Excel.

Designed for Excel(Office) 2013, 2010, 2007 and Office 365. Free download and use for 60 days.

Screen shot of Kutools for Excel

btn read more     btn download     btn purchase