![]() |
how to split data where line breaks are the delimiter
i'm trying to split data which is seperated by line breaks into seperate
columns. line breaks are not in the standard delimiter list and i cant find a way or doing this. ie John Smith 23 Tree Terrace London SW3 tel 01483 522563 any suggestions please! thanks -- Jackie Pearce |
Answer: how to split data where line breaks are the delimiter
Hi Jackie,
To split data where line breaks are the delimiter, you can use the Text to Columns feature in Excel. Here are the steps:
This will split the data into separate columns based on the line breaks. You may need to adjust the column widths and formatting to make the data easier to read. |
how to split data where line breaks are the delimiter
Jackie Pearce wrote:
i'm trying to split data which is seperated by line breaks into seperate columns. line breaks are not in the standard delimiter list and i cant find a way or doing this. ie John Smith 23 Tree Terrace London SW3 tel 01483 522563 any suggestions please! thanks Assuming your data starts at A1, put the following formula in B1: =SUBSTITUTE(A1," ","~") In between the empty quotes, instead of a space hit Alt-Enter. Copy the formula down to match your list of data. Then select all of the formulas and Copy, then Paste / Special / Values. Now do a Text To Columns using "~" as the delimiter. |
how to split data where line breaks are the delimiter
You might try replacing your line breaks (assuming that they are in the form
of alt+enter) with a character such as "~" or "`". =SUBSTITUTE(A1,CHAR(10),"~") Once you've done that, copy that result and PasteSpecial, values only. Then you can use Text to Columns using "~" as the delimeter. HTH, Paul -- "Jackie Pearce" wrote in message ... i'm trying to split data which is seperated by line breaks into seperate columns. line breaks are not in the standard delimiter list and i cant find a way or doing this. ie John Smith 23 Tree Terrace London SW3 tel 01483 522563 any suggestions please! thanks -- Jackie Pearce |
how to split data where line breaks are the delimiter
DataText to ColumnsDelimited byOther........CTRL + j and OK
Gord Dibben MS Excel MVP On Fri, 22 Aug 2008 05:50:00 -0700, Jackie Pearce wrote: i'm trying to split data which is seperated by line breaks into seperate columns. line breaks are not in the standard delimiter list and i cant find a way or doing this. ie John Smith 23 Tree Terrace London SW3 tel 01483 522563 any suggestions please! thanks |
how to split data where line breaks are the delimiter
thanks all, very helpful and a great time saver!
J -- Jackie Pearce "Glenn" wrote: Jackie Pearce wrote: i'm trying to split data which is seperated by line breaks into seperate columns. line breaks are not in the standard delimiter list and i cant find a way or doing this. ie John Smith 23 Tree Terrace London SW3 tel 01483 522563 any suggestions please! thanks Assuming your data starts at A1, put the following formula in B1: =SUBSTITUTE(A1," ","~") In between the empty quotes, instead of a space hit Alt-Enter. Copy the formula down to match your list of data. Then select all of the formulas and Copy, then Paste / Special / Values. Now do a Text To Columns using "~" as the delimiter. |
All times are GMT +1. The time now is 01:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com