Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

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

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words...
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum...
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns...
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Create Mailing List and Send Emails by Cell's Value...
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

Click Kutools >> Text >> Remove Spaces. See screenshots:

shot remove spaces1 arrow-big shot-remove-spaces2 -

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 > 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-big shot-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.


> 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 > 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

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 > 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

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 > 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-big shot-remove-spaces8

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 > 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-spaces10 arrow-big shot-remove-spaces11

Note:

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 300 Advanced Functions for Excel 2019, 2016, 2013, 2010, 2007 and Office 365.
Classic Menu for Office: Bring back familiar menus to Office 2007, 2010, 2013, 2016, 2019 and 365, as if it were Office 2000 and 2003.

Kutools for Excel

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

Designed for Excel(Office) 2019, 2016, 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

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Eduard · 1 years ago
    Trying to remove spaces in text like this 11 660 749,29. Nothing happens(