Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Text to Columns multiple delimiters

$
0
0

Hi

 

I have a file that has a text string in the following format:

|1=abc|2=def|3=ghi

|1=aaa|3=bbb

 

I want to get an output as follows:

 

123
abcdefghi
aaaNULLbbb

 

I presume I could do this using a macro (not sure which type?). But I was hoping there might be a more elegant solution? I have around 200 different columns so it needs to be a systematic approach.

 

Thanks for your help.

 

Dan

 


Viewing all articles
Browse latest Browse all 4999

Trending Articles