OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[Solved] How to remove blank spaces

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
scottweston
General User
General User


Joined: 01 Jul 2010
Posts: 10

PostPosted: Wed May 11, 2011 12:58 am    Post subject: [Solved] How to remove blank spaces Reply with quote

say in column "B" i had "12 ABCD 123" but i want to end up with "12ABCD123" how would i go about this

thanks heaps

Scott
Back to top
View user's profile Send private message
ken johnson
Super User
Super User


Joined: 23 Apr 2009
Posts: 2032
Location: Sydney, Australia

PostPosted: Wed May 11, 2011 2:33 am    Post subject: Reply with quote

Try...
Code:
=SUBSTITUTE(B1;" ";"")

Ken Johnson
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
Robert Tucker
Moderator
Moderator


Joined: 16 Aug 2004
Posts: 3407
Location: Manchester UK

PostPosted: Wed May 11, 2011 5:29 am    Post subject: Reply with quote

If you wanted to remove all the spaces in all the cells in column B you could use search and replace (Ctrl+F). Select column B, put a space in "Search for" and nothing in "Replace with", check "Current selection only" under "More Options" and then click "Replace All". You could apply this method to any "selected cells", of course.
_________________
OpenOffice 4.0.0 and LibreOffice 4.x.x on Fedora 20, Ubuntu 13.10, Windows 8.1 Preview (Triple Boot)
Back to top
View user's profile Send private message
scottweston
General User
General User


Joined: 01 Jul 2010
Posts: 10

PostPosted: Wed May 11, 2011 4:30 pm    Post subject: Reply with quote

thanks Ken works perfect

please close this thread

Scott
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group