How can I remove blank spaces from fields

N

nozzaworld

Hi,

I have a column of fields with some duplications. I want to remove those
duplications but all of the duplicates have a space at the end of them so are
not recognised as being true duplicates.

My question is, how do I remove the spaces from my data?

e.g. so that the two fields below both read nozzaworld
nozzaworld
nozza world

Many thanks
 
E

Eduardo

Hi,
I assume your information is in column A, then in another column enter

=trim(A1)

Overwrite column A with new column copying as value
 
M

Mike H

Hi,

Try this

=SUBSTITUTE(A1," ","")

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
N

nozzaworld

Thanks, but neither of these seem to be working with my records (which are
email addresses) when I copy the values back into column A.

Any thoughts?

Regards
 
E

Eduardo

Hi,
could you please explain what is not working, Mike formula works for me when
the space is in the middle of the name
 
N

nozzaworld

It seems to work for short fields like removing the space from nozza world.
However, it does not seem to work with spaces at the end of emails e.g
[email protected]

Many thanks
 
Top