View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Remove space at beginning of each name

You could use:

Select the column
Data|Text to columns
Fixed width (but remove any lines that excel guessed)
and finish up.

But both leading and trailing spaces will be chopped off. Multiple internal
spaces won't be changed.

=trim() will get rid of leading/trailing and multiple internal spaces.

Supe wrote:

I recieved a list that has several hundred names that I was going to do a
VLOOKUP on to put in some data from another spreadsheet. The list I received
has one space at the beginning of each name so the VLOOKUP won't work. How
can I remove this space without going into every single cell and deleting?


--

Dave Peterson