Setting Custom Delimiters for Importing Text into Worksheet

CaseyCayce

New Member
Joined
Oct 29, 2016
Messages
1
I have lengthy text in an MSWord document I need to import into an Excel worksheet. This body of text needs to be distributed across 5 columns, then begin new rows. The text is such that there are line breaks occurring within text intended for each cell, so I need for Excel to ignore line breaks, as those normally begin filling the next cell.


My question is, how do I impose custom delimiters so that text will break across columns, then another delimiter causing the text to begin a new row, like this:



Column-1Column-2Column-3Column-4Column-5
Row-1Text-Block Text-Block Text-Block Text-Block Text-Block
Row-2Text-Block Text-Block Text-Block Text-Block Text-Block
Row-3Text-Block Text-Block Text-Block Text-Block Text-Block

<tbody>
</tbody>









In other words: I need to import a body of text into Excel, having Excel ignore line breaks/returns in the text, but recognize custom delimiters to break the text to fill the worksheet as shown above.


Any help would be appreciated.


Thanks.


Cayce
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
To ignore line breaks is easy. In Word, you just do a Find/Replace to replace line breaks with something else, a "^", maybe, which can be used as the delimiter in Excel.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,934
Members
449,094
Latest member
teemeren

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