Import text with more than one delimiters

ymeyaw

New Member
Joined
Apr 24, 2006
Messages
29
Dear experts,

If i have more than one delimiters in text and i cant use the import wizzard (default is 1 for user to key in), how should i do that with codes? I studied some webpages mentioned something bout SplitMultiDelimsEX but still dont really know how it works. Let say the text below is text file and how would i import into excel? With each delimiters seperate the columns?




ABC123|DSC924_BARU02|4297_adf.Danau_KNM1_13|13|102-12-9078-42971|5011-012-50001-30-37371|10662|103|0|
CFG345|ASC924_BARU02|4297_ddd.Danau_KNM1_13|13|102-12-9078-42972|5011-012-50001-30-37371|10662|103|0|



Thanks for your guidance !!...
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi, are you saying that you have more than one delimiter character, such as
Code:
|
and
Code:
,
?

If so, here's some ideas.
I haven't tried them myself, but they might work.

1) Use find and replace, for example to find "|" and replace with ","
Then your delimiters will be standardised.
You could maybe do this in whatever software creates the text file.
Or do it in Excel.
2) If one of the delimiting characters always occurs in consistent locations, import the file using the OTHER delimiter, and then use Data, Text to Columns, to break up whichever columns have the first delimiter.
 
Upvote 0

Forum statistics

Threads
1,224,534
Messages
6,179,391
Members
452,909
Latest member
VickiS

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