You can remove leading spaces, trailing spaces, extra spaces or all spaces from selected cells in Excel easily with one click without writing any VBA code. Dose for Excel‘s Trim Spaces utility can implement this with one click on huge number of cells.
Click DOSE » Text » Trim Spaces

Remove leading spaces
- Select range of cells, and check Leading (_A) option to remove leading spaces from selected cells and keep the remaining spaces.
- Then click Apply. You will see the result as shown in the below screenshot.

Remove trailing spaces
- Select range of cells, and check Trailing (A_) option to remove trailing spaces from selected cells and keep the remaining spaces.
- Then click Apply. You will see the result as shown in the below screenshot.

Remove extra spaces
- Select range of cells, and check Extra (__A___B____) option to remove extra spaces from selected cells and keep the remaining spaces.
- Then click Apply. You will see the result as shown in the below screenshot.

Remove all spaces
- Select range of cells, and check All option to remove all spaces from selected cells.
- Then click Apply. You will see the result as shown in the below screenshot.

Demo
More Features:
Excel Cells Color Assistant
Advanced Cells Formatting And Coloring In Excel Build your format and color templates by yourself,…
Excel Select Used Range
Select Used Range With One Click Most annoying thing is when you want to select…
Excel Clean Data
Clean Data In Excel Clean data in huge Excel sheets could take long time doing…
How to Select Interval Rows or Columns in Excel
Select Interval Rows Or Columns In Excel Easily select interval rows or columns, for example,…
How to insert a date picker in Excel
Add Date Pickers to Your Excel Sheets in No Time Effortlessly streamline data entry and…
Excel Batch Insert Option Buttons
Batch Insert Option Buttons In Excel Insert a batch of option buttons into selected cells…