Convert Text to Columns (Cells Include Line Breaks)

littlefish

New Member
Joined
Mar 6, 2008
Messages
18
Office Version
  1. 365
Platform
  1. Windows
I have a single column of several hundred rows of data that I would like to use the "convert text to columns" wizard, however, in addition to typical delimiters (i.e. "," and ";") these cells contain line breaks. When I run the wizard, the result is a single column of data to the point of the line break. Each individual cell has varying counts of delimiters.

I would welcome input on how to split the data into multiple columns (it's possible in some cases there could be up to eight columns needed,) accounting for three delimiters:
,
;
[line breaks]

Thanks so much in advance.

TZ
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Use the XL2BB to provide a sample of your data so that we can see exactly what you have. Make sure also for the sample data to show us what your expected results will look like.
 
Upvote 0
Select semi-colon, comma & other and in the box for other type Ctrl J
 
Upvote 0
Solution
out of curiosity
what if there is more delimiters, like: comma, semi-colon, pipe & LF ? (or more)
 
Upvote 0
This is a single cell in my xls, and the XL2BB c/p displays it with line breaks:

LA PLATA CO CO .1875 MI IN THE S/2 SW/4 O/O 320 ACRE W/2 SPACING IN SEC. 17 T32N-R6W; IGNACIO BLANCO (FC) ABEYTA NO. 17-1; .0140625 NRI



After applied delimiters, this cell would appear in six consecutive columns:

LA PLATA CO CO .1875 MI IN THE S/2 SW/4 O/O 320 ACRE W/2 SPACING IN
SEC. 17 T32N-R6W
IGNACIO BLANCO
(FC)
ABEYTA NO. 17-1
.0140625 NRI
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top