remove some but not all internal spaces

J

JDUK

I have several hundred cells of postcode sector data in a column from which I
need to remove the first internal space but not the second. Is there an
automatic way to do this?
eg "SL 1 1" needs to be "SL1 1"
 
D

Dave Peterson

One way, using a helper cell with a formula.

=REPLACE(A1&" ",SEARCH(" ",A1&" "),1,"")
And drag down as far as you need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top