Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default text-to-column problem

I have complete addresses including hard carriage returnss in my original
data. (That is, I have three lines in each cell.) How do I make the CR's a
delimiter for text-to-column conversion?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default text-to-column problem

One option is to substitute the carriage return for other symbol. You can
create an additional column with a formula like:
=SUBSTITUTE(A1,CHAR(10),"|")
And perform the text to columns on the results, using the | as separator.

Hope this helps,
Miguel.

"CraigR53" wrote:

I have complete addresses including hard carriage returnss in my original
data. (That is, I have three lines in each cell.) How do I make the CR's a
delimiter for text-to-column conversion?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default text-to-column problem

Thanks, Miguel. That got rid of the CR, but there is still a square
immediately prior to the place where the CR was. I throught it was just a
placeholder for the CR, but it must be something else. How do I get rid of
that?


"Miguel Zapico" wrote:

One option is to substitute the carriage return for other symbol. You can
create an additional column with a formula like:
=SUBSTITUTE(A1,CHAR(10),"|")
And perform the text to columns on the results, using the | as separator.

Hope this helps,
Miguel.

"CraigR53" wrote:

I have complete addresses including hard carriage returnss in my original
data. (That is, I have three lines in each cell.) How do I make the CR's a
delimiter for text-to-column conversion?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default text-to-column problem

You can use the function CODE to check what that square is, and then
substitute it again, this time with the empty character. To use code, I
would combine it with the MID function, to aim where the character is.
For example, if you have 2 characters before the square, use the formula:
=CODE(MID(A1,3,1))
This will return a number, then you can use that number in the CHAR part of
the formula:
=SUBSTITUTE(A1,CHAR(XX),"")

Hope this helps,
Miguel.

"CraigR53" wrote:

Thanks, Miguel. That got rid of the CR, but there is still a square
immediately prior to the place where the CR was. I throught it was just a
placeholder for the CR, but it must be something else. How do I get rid of
that?


"Miguel Zapico" wrote:

One option is to substitute the carriage return for other symbol. You can
create an additional column with a formula like:
=SUBSTITUTE(A1,CHAR(10),"|")
And perform the text to columns on the results, using the | as separator.

Hope this helps,
Miguel.

"CraigR53" wrote:

I have complete addresses including hard carriage returnss in my original
data. (That is, I have three lines in each cell.) How do I make the CR's a
delimiter for text-to-column conversion?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default text-to-column problem

One more method is to use ALT + 0010 from the numpad and Text to Columns

Delimited byOther ALT + 0010 Or CTRL + j


Gord Dibben MS Excel MVP

On Mon, 14 Aug 2006 12:10:02 -0700, Miguel Zapico
wrote:

One option is to substitute the carriage return for other symbol. You can
create an additional column with a formula like:
=SUBSTITUTE(A1,CHAR(10),"|")
And perform the text to columns on the results, using the | as separator.

Hope this helps,
Miguel.

"CraigR53" wrote:

I have complete addresses including hard carriage returnss in my original
data. (That is, I have three lines in each cell.) How do I make the CR's a
delimiter for text-to-column conversion?




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default text-to-column problem

In the "delimited" section, "check" other and enter "0010", using the
number pad while holding down the Alt key
"CraigR53" wrote in message
...
I have complete addresses including hard carriage returnss in my original
data. (That is, I have three lines in each cell.) How do I make the CR's
a
delimiter for text-to-column conversion?



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default text-to-column problem

I tried the alt 0010 suggested and everything to the right of the carriage
return disappears. Not really what I was hoping for.
--
I know enuff to be dangerous.


"Paul Dusterhoft" wrote:

In the "delimited" section, "check" other and enter "0010", using the
number pad while holding down the Alt key
"CraigR53" wrote in message
...
I have complete addresses including hard carriage returnss in my original
data. (That is, I have three lines in each cell.) How do I make the CR's
a
delimiter for text-to-column conversion?




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default text-to-column problem

Maybe you had "do not import column" checked for the column right of the CR?


Gord Dibben MS Excel MVP

On Mon, 12 Feb 2007 11:14:01 -0800, RealGomer
wrote:

I tried the alt 0010 suggested and everything to the right of the carriage
return disappears. Not really what I was hoping for.


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default text-to-column problem

Nope. When I open the text to columns window and choose delimited, everything
to the right of the symbol disappears.
--
I know enuff to be dangerous.


"Gord Dibben" wrote:

Maybe you had "do not import column" checked for the column right of the CR?


Gord Dibben MS Excel MVP

On Mon, 12 Feb 2007 11:14:01 -0800, RealGomer
wrote:

I tried the alt 0010 suggested and everything to the right of the carriage
return disappears. Not really what I was hoping for.



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default text-to-column problem

It will come back when you hit "Next".


Gord

On Mon, 12 Feb 2007 14:15:02 -0800, RealGomer
wrote:

Nope. When I open the text to columns window and choose delimited, everything
to the right of the symbol disappears.




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
Column matching - sorting. Fairly hard problem, I think. A S-D Excel Discussion (Misc queries) 13 April 7th 06 01:52 PM
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Macro to find text string in a column and paste data in another nicolascap Excel Discussion (Misc queries) 8 March 14th 06 03:13 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM


All times are GMT +1. The time now is 08:47 AM.

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

About Us

"It's about Microsoft Excel"