Remove extra spaces in Excel

If extra spaces in your Excel worksheet don't let process your data correctly, use the Text Toolkit add-in. It will help you remove leading and trailing spaces or get rid of excess blanks between words. Here you will learn how to remove spaces in Excel 2016 - 2007.

Before you start

We care about your data. The add-in will back up your file if you select the corresponding option.

How to trim spaces in the range

To run the needed tool, click the Trim Spaces icon in the Text group on the Ablebits Data tab:
Remove spaces in Excel.

Then simply pick the needed options:
How to trim spaces in Excel.

  1. Select the range where you want to remove extra spaces in your Excel worksheet.
  2. If you want to highlight the whole table quickly, click the Expand selection icon.
  3. Choose the option or a combination of options that suits you best:
    • If you pick Trim leading/trailing spaces, the spaces before and after cell values will be deleted.
    • By ticking Trim spaces between words to 1, you'll have extra spaces between words within a cell removed.
    • The Trim ' ' option means that non-breaking spaces that look like   in your worksheet will be deleted from the selected range.
    • Tip. You can run any of these options right away by clicking the down arrow below the add-in's icon and picking the necessary option from the drop-down menu:
      Trim spaces directly from the Excel ribbon.
  4. We always recommend selecting the Back up the worksheet option to keep your original table intact.
  5. Click the Trim button to remove all extra spaces in one click.

Ask a question (posted publicly)

If you have any questions or issues with this add-in, please feel free to post your concerns in the comments area. As soon as we answer, a notification message will be sent to your e-mail. If you do not want to share your thoughts in public, please contact us at support@ablebits.com.
Privacy policy Terms of use Contact us

Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.

Ultimate Suite 2018.5 for Excel
60+ professional tools for Excel 2019-2007 to do your daily work
Incredible product, even better tech support…AbleBits totally delivers!
Deborah Bryant
Anyone who works with Excel is sure to find their work made easier
Jackie Lee
The best spent money on software I've ever spent!
Patrick Raugh
Ablebits is a fantastic product - easy to use and so efficient.
Debra Celmer
Excel is at its best now
Annie C.
I don't know how to thank you enough for your Excel add-ins
Jennifer Morningstar
Anybody who experiences it, is bound to love it!
Kumar Nepa
AbleBits suite has really helped me when I was in a crunch!
Nelda Fink
I have enjoyed every bit of it and time am using it
Christian Onyekachi Nwosu
It's the best $100 we've ever spent!
Mike Cavanagh
I love the program, and I can't imagine using Excel without it!
Robert Madsen
One word… WOW!
Dave Brown
Love the products!
David Johnston
It is like having an expert at my shoulder helping me…
Linda Shakespeare
Your software really helps make my job easier
Jeannie C.
Thanks for a terrific product that is worth every single cent!
Dianne Young
I love your product
Brad Gibson
Awesome!!!
Sheila Blanchard