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 / September 2005

Tip: Looking for answers? Try searching our database.

removing a space between words in a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JenBasch - 19 Sep 2005 16:25 GMT
I am trying to figure out how to remove a space between two words in on
cell.

ex: dog house ---- doghouse

Once I figure that out I want it to look through a lot of cells and i
they have a space take it out (above) and if not leave it the way i
is.

Thanks for any help available,
Je
swatsp0p - 19 Sep 2005 16:56 GMT
assuming you only have one space per cell to eliminate, use this formul
in another cell (say B1):

B1=LEFT(A1,(FIND(" ",A1)-1))&MID(A1,FIND(" ",A1)+1,LEN(A1)-(FIND(
",A1)))

of course, adjust the cell reference to meet your needs.

A1=dog house   returns: doghouse in B1

HTH

Bruc

--
swatsp0
David Billigmeier - 19 Sep 2005 17:28 GMT
A LOT easier formula is:
=SUBSTITUTE(A1," ","")

Signature

Regards,
Dave
<!--

> I am trying to figure out how to remove a space between two words in one
> cell.
[quoted text clipped - 7 lines]
> Thanks for any help available,
> Jen
Gord Dibben - 20 Sep 2005 00:39 GMT
A LOT easier may be Edit>Replace

what: space

with: nothing

Replace all.

Gord Dibben Excel MVP

>A LOT easier formula is:
>=SUBSTITUTE(A1," ","")
 
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



©2009 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.