Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2006

Tip: Looking for answers? Try searching our database.

Removing Spaces from string

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
katmando - 16 May 2006 13:24 GMT
I want to be able to remove spaces from a string, that may have
muiltiple words to create a string with no spaces.
For example "sin city" to become "sincity"

The strings will be of a random length and may contain more than 2
words such as "master & commander"

Thanks

Signature

katmando

Ardus Petus - 16 May 2006 13:30 GMT
=SUBSTITUTE(A1," ","")

HTH
--
AP

"katmando" <katmando.27wgvn_1147782303.6926@excelforum-nospam.com> a écrit
dans le message de news:
katmando.27wgvn_1147782303.6926@excelforum-nospam.com...

> I want to be able to remove spaces from a string, that may have
> muiltiple words to create a string with no spaces.
[quoted text clipped - 4 lines]
>
> Thanks
Beege - 16 May 2006 13:31 GMT
kat

Search/Replace

Select column

Use " " for search (space)
Use "" for replace (no space)

Beege

> I want to be able to remove spaces from a string, that may have
> muiltiple words to create a string with no spaces.
[quoted text clipped - 4 lines]
>
> Thanks
Dave Peterson - 16 May 2006 13:34 GMT
Select the range
edit|Replace
what:  (spacebar)
with:  (leave blank)
replace all

is one way

> I want to be able to remove spaces from a string, that may have
> muiltiple words to create a string with no spaces.
[quoted text clipped - 10 lines]
> katmando's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=29803
> View this thread: http://www.excelforum.com/showthread.php?threadid=542452

Signature

Dave Peterson

katmando - 16 May 2006 14:16 GMT
Thanks.  the substitute was the one i needed

cheer
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.