#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Space between words

Hi,

I have a column that has strings with spaces. I need a formula that
when it finds a space, excel put it in a new column.
It looks like this:
Green Apple
White Car
Black Cloth

and it should be:
Green
Apple
White
Car
Black
Cloth

I need to substitute space for a line break.

I've already tried a lot of things, but with no sucess... i`m thinking
in export this into a txt file and make a perl script to do what i
need. but i think excel should do this and I don't know how.

Thx

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Space between words

Instead of a formula, you may want to select the column
data|text to columns
delimited by space
and finish up.



Fravo wrote:

Hi,

I have a column that has strings with spaces. I need a formula that
when it finds a space, excel put it in a new column.
It looks like this:
Green Apple
White Car
Black Cloth

and it should be:
Green
Apple
White
Car
Black
Cloth

I need to substitute space for a line break.

I've already tried a lot of things, but with no sucess... i`m thinking
in export this into a txt file and make a perl script to do what i
need. but i think excel should do this and I don't know how.

Thx


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Space between words

And data|text to columns will put the values in different columns. That does
what you describe--but not what you show in your example.

Fravo wrote:

Hi,

I have a column that has strings with spaces. I need a formula that
when it finds a space, excel put it in a new column.
It looks like this:
Green Apple
White Car
Black Cloth

and it should be:
Green
Apple
White
Car
Black
Cloth

I need to substitute space for a line break.

I've already tried a lot of things, but with no sucess... i`m thinking
in export this into a txt file and make a perl script to do what i
need. but i think excel should do this and I don't know how.

Thx


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default Space between words

Hi Fravo,

Sounds like EditReplace might help here.

Select your data
Go to EditReplace
Find what: space
Replace with: Alt+010
Click Replace all
OK out

HTH
Martin



"Fravo" wrote in message
ps.com...
Hi,

I have a column that has strings with spaces. I need a formula that
when it finds a space, excel put it in a new column.
It looks like this:
Green Apple
White Car
Black Cloth

and it should be:
Green
Apple
White
Car
Black
Cloth

I need to substitute space for a line break.

I've already tried a lot of things, but with no sucess... i`m thinking
in export this into a txt file and make a perl script to do what i
need. but i think excel should do this and I don't know how.

Thx



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula that will go up one space if no value in specified space skammi Excel Worksheet Functions 1 November 16th 05 03:28 PM
removing a space between words in a cell JenBasch Excel Worksheet Functions 3 September 20th 05 12:39 AM
Paper Space / Model Space ? Coolboy55 Excel Discussion (Misc queries) 0 September 1st 05 08:58 PM
how do i insert words into a column without erasing the words soccer5585 Excel Discussion (Misc queries) 0 June 8th 05 11:06 PM
space frank Excel Discussion (Misc queries) 1 December 28th 04 09:29 PM


All times are GMT +1. The time now is 07:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"