| View previous topic :: View next topic |
| Author |
Message |
scottweston General User

Joined: 01 Jul 2010 Posts: 10
|
Posted: Wed May 11, 2011 12:58 am Post subject: [Solved] How to remove blank spaces |
|
|
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 |
|
 |
ken johnson Super User

Joined: 23 Apr 2009 Posts: 1851 Location: Sydney, Australia
|
Posted: Wed May 11, 2011 2:33 am Post subject: |
|
|
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 |
|
 |
Robert Tucker Moderator


Joined: 16 Aug 2004 Posts: 3367 Location: Manchester UK
|
Posted: Wed May 11, 2011 5:29 am Post subject: |
|
|
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. _________________ LibreOffice 3.6.6 on Fedora 18, LibreOffice 4.0.2 on Ubuntu 13.04 (Double Boot) |
|
| Back to top |
|
 |
scottweston General User

Joined: 01 Jul 2010 Posts: 10
|
Posted: Wed May 11, 2011 4:30 pm Post subject: |
|
|
thanks Ken works perfect
please close this thread
Scott |
|
| Back to top |
|
 |
|