How to remove empty spaces in a cell with numbers?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my example I have a long list with numbers that starts out with empty
spaces like this:

55 210
110
665 010
....

and so on.. I would like to remove all the empty gaps in my column. How do I
do that without doing it manually for every cell. Thanks for reading. Bye
 
Assuming your data are in column A put this in B1 and drag down

=SUBSTITUTE(A1," ","")

Mike
 
Select the range of numbers, press Ctrl-H, enter a space in the Search for
and be sure the Replace with box is empty - click on Replace All
 
Back
Top