Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Replacing spaces with a line end

How can I replace two spaces with a line end, throughout one column in a
spreadsheet. The context is that in one column the entire address has been
entered in one cell without line breaks, and I need to use that column in a
mailmerge so want the address to print as normal on different lines.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Replacing spaces with a line end

Hi Doris,

The only way I can think of is to
Select the cell, go to the Data tab and click on text to Columns and follow
the instructions, then select all the cells, copy-paste special -click the
transpose box then click OK --


Regards
Warren
Excel Novice
Addiewell, Scotland.

If this helps please click the Yes button.


"Fat Doris" wrote:

How can I replace two spaces with a line end, throughout one column in a
spreadsheet. The context is that in one column the entire address has been
entered in one cell without line breaks, and I need to use that column in a
mailmerge so want the address to print as normal on different lines.

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Replacing spaces with a line end

Thanks but I'm afraid that doesn't do the trick - everything's all over the
place. I know there is a way to search for two spaces and replace with a
line break because I'd used it before, and I've filed it somewhere as useful
info, but can I find it when I want it!!!!!



"Warren Easton" wrote:

Hi Doris,

The only way I can think of is to
Select the cell, go to the Data tab and click on text to Columns and follow
the instructions, then select all the cells, copy-paste special -click the
transpose box then click OK --


Regards
Warren
Excel Novice
Addiewell, Scotland.

If this helps please click the Yes button.


"Fat Doris" wrote:

How can I replace two spaces with a line end, throughout one column in a
spreadsheet. The context is that in one column the entire address has been
entered in one cell without line breaks, and I need to use that column in a
mailmerge so want the address to print as normal on different lines.

Thank you

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Replacing spaces with a line end

Select the range to fix (at least 2 cells)
Edit|replace
what: (two space characters)
with: ctrl-j
replace all

Ctrl-j is the same as the alt-enter. You may need to change the formatting to
wraptext, too.

Fat Doris wrote:

Thanks but I'm afraid that doesn't do the trick - everything's all over the
place. I know there is a way to search for two spaces and replace with a
line break because I'd used it before, and I've filed it somewhere as useful
info, but can I find it when I want it!!!!!

"Warren Easton" wrote:

Hi Doris,

The only way I can think of is to
Select the cell, go to the Data tab and click on text to Columns and follow
the instructions, then select all the cells, copy-paste special -click the
transpose box then click OK --


Regards
Warren
Excel Novice
Addiewell, Scotland.

If this helps please click the Yes button.


"Fat Doris" wrote:

How can I replace two spaces with a line end, throughout one column in a
spreadsheet. The context is that in one column the entire address has been
entered in one cell without line breaks, and I need to use that column in a
mailmerge so want the address to print as normal on different lines.

Thank you


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Replacing spaces with a line end

That's it - thanks a lot.

"Dave Peterson" wrote:

Select the range to fix (at least 2 cells)
Edit|replace
what: (two space characters)
with: ctrl-j
replace all

Ctrl-j is the same as the alt-enter. You may need to change the formatting to
wraptext, too.

Fat Doris wrote:

Thanks but I'm afraid that doesn't do the trick - everything's all over the
place. I know there is a way to search for two spaces and replace with a
line break because I'd used it before, and I've filed it somewhere as useful
info, but can I find it when I want it!!!!!

"Warren Easton" wrote:

Hi Doris,

The only way I can think of is to
Select the cell, go to the Data tab and click on text to Columns and follow
the instructions, then select all the cells, copy-paste special -click the
transpose box then click OK --


Regards
Warren
Excel Novice
Addiewell, Scotland.

If this helps please click the Yes button.


"Fat Doris" wrote:

How can I replace two spaces with a line end, throughout one column in a
spreadsheet. The context is that in one column the entire address has been
entered in one cell without line breaks, and I need to use that column in a
mailmerge so want the address to print as normal on different lines.

Thank you


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Replacing spaces with a line end

I've just used this to split given names and surnames into two columns and it
saves so much time. Wish I'd known this years ago. Thanks.

"Warren Easton" wrote:

Hi Doris,

The only way I can think of is to
Select the cell, go to the Data tab and click on text to Columns and follow
the instructions, then select all the cells, copy-paste special -click the
transpose box then click OK --


Regards
Warren
Excel Novice
Addiewell, Scotland.

If this helps please click the Yes button.


"Fat Doris" wrote:

How can I replace two spaces with a line end, throughout one column in a
spreadsheet. The context is that in one column the entire address has been
entered in one cell without line breaks, and I need to use that column in a
mailmerge so want the address to print as normal on different lines.

Thank you

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
how do I remove leading spaces and leave the remianing spaces w Debi Excel Worksheet Functions 6 February 28th 07 03:29 PM
Replacing a hard line break in Excel a_ryan1972 Excel Discussion (Misc queries) 4 October 25th 06 09:28 PM
spaces not recognized as spaces windsurferLA Excel Worksheet Functions 9 July 27th 06 11:49 AM
Replacing spaces in text, with another character PCLIVE Excel Worksheet Functions 2 October 14th 05 06:43 PM
Replacing specific characters with spaces Night Owl Excel Worksheet Functions 3 May 13th 05 05:52 PM


All times are GMT +1. The time now is 01:01 PM.

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"