Link to home
Start Free TrialLog in
Avatar of rdefino
rdefinoFlag for United States of America

asked on

How to remove empty spaces in Cells

I have a column about 80 cells long. Each cell contain just a single word. But there are some spaces before and after each word.

How can I remove the spaces in each cell, in excel 2013.
Avatar of byundt
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can alternatively use the Data...Text to Columns menu item.

1.  Select all 80 cells
2.  Open the Data...Text to Columns menu item
3.  Choose Delimited in the first step of the wizard
4.  Choose the Space character in the second step of the wizard. For extra measure, check the Other box too, then click in the field to its right and enter ALT + 0160 using the numeric keypad (not the numbers above QWERTY). Make sure the "Treat consecutive delimiters as one" box is checked.
5.  In the third step of the wizard, select any field that looks blank, and choose "Do not Import".  Click Finish.