PC Review


Reply
Thread Tools Rate Thread

break at space

 
 
Learner
Guest
Posts: n/a
 
      16th Dec 2009
Hello, I have thousands of nouns separated by a space (abandonments
abbreviating abbreviation abbreviators ...) and I would like to put a
formula so that at each space the remaining is copied to the next cell
(killing the needless space).

Can it be done, can you hint me to how to do this?

thank you


 
Reply With Quote
 
 
 
 
Learner
Guest
Posts: n/a
 
      16th Dec 2009
I forgot to mention that I have all the words in one cell.
Thanks
____
"Learner" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello, I have thousands of nouns separated by a space (abandonments
> abbreviating abbreviation abbreviators ...) and I would like to put a
> formula so that at each space the remaining is copied to the next cell
> (killing the needless space).
>
> Can it be done, can you hint me to how to do this?
>
> thank you
>



 
Reply With Quote
 
L. Howard Kittle
Guest
Posts: n/a
 
      16th Dec 2009
Hmmmm,

Perhaps under Data > Text to Columns > Delimiter > Space > OK > Finish.

Try it on a test set of data first!!!

HTH
Regrds,
Howard


"Learner" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello, I have thousands of nouns separated by a space (abandonments
> abbreviating abbreviation abbreviators ...) and I would like to put a
> formula so that at each space the remaining is copied to the next cell
> (killing the needless space).
>
> Can it be done, can you hint me to how to do this?
>
> thank you
>



 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      16th Dec 2009
I think this macro does what I think you are saying you want to do (just
change the Worksheet name and Range reference for the cell containing the
words in the With statement to match your actual set up)...

Sub SplitDownAtSpace()
Dim Words() As String
With Worksheets("Sheet4").Range("A1")
Words = Split(.Value)
.Resize(UBound(Words) + 1).Value = WorksheetFunction.Transpose(Words)
End With
End Sub

--
Rick (MVP - Excel)


"Learner" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello, I have thousands of nouns separated by a space (abandonments
> abbreviating abbreviation abbreviators ...) and I would like to put a
> formula so that at each space the remaining is copied to the next cell
> (killing the needless space).
>
> Can it be done, can you hint me to how to do this?
>
> thank you
>


 
Reply With Quote
 
Learner
Guest
Posts: n/a
 
      16th Dec 2009
Thank you Howard and Rick, Rick's code produces exactly what I was looking
for.


"Rick Rothstein" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I think this macro does what I think you are saying you want to do (just
>change the Worksheet name and Range reference for the cell containing the
>words in the With statement to match your actual set up)...
>
> Sub SplitDownAtSpace()
> Dim Words() As String
> With Worksheets("Sheet4").Range("A1")
> Words = Split(.Value)
> .Resize(UBound(Words) + 1).Value = WorksheetFunction.Transpose(Words)
> End With
> End Sub
>
> --
> Rick (MVP - Excel)
>
>
> "Learner" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello, I have thousands of nouns separated by a space (abandonments
>> abbreviating abbreviation abbreviators ...) and I would like to put a
>> formula so that at each space the remaining is copied to the next cell
>> (killing the needless space).
>>
>> Can it be done, can you hint me to how to do this?
>>
>> thank you
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I insert a non-break space? BillM Microsoft Word Document Management 1 19th Dec 2009 07:50 PM
Discovering No-BREAK Space in cell Data =?Utf-8?B?Sm9l?= Microsoft Excel Misc 4 26th Apr 2007 01:46 PM
how can we break the line from the space between two words kundan kumar Microsoft ASP .NET 4 1st Oct 2006 02:03 PM
how do I replace a page break with a space? =?Utf-8?B?VGhlbw==?= Microsoft Word Document Management 2 23rd Dec 2004 03:59 PM
Replace paraagraph break with space? Don Microsoft Word New Users 3 17th Oct 2003 07:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:53 AM.