Trim Function

Y

Yew Keong

As I understand it, the Trim function leaves a space
between two words. However, I would like to leave no
space at all between the words. For example, I want SVGG
334XK (with a space in between) to be SVGG334XK.

Anyone can help?

Thank You.
 
A

Alan

Hi,

=SUBSTITUTE(A1," ","")

or probably easier, use Edit > Replace, hit the space bar in "Find What" and
leave "Replace With" empty

Regards,
Alan
 
G

Gord Dibben

Yew

Edit>Replace

what: space
with: nothing

Replace All.

Gord Dibben Excel MVP - XL97 SR2 & XL2002
 

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