Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Utilizing Text to Columns over Multiple Columns

yuganda
5 - Atom

I have an excel file with 60 columns that has data in the second row, that I want to break up into additional rows if there is a "," (multiple columns have ","). I used the text to columns function, on Column 2, but it caused column 1,  3, 4, 5, 6, 7, and 8 to repeat the same row information over and over and it seems I would have to use the Text to Column function for each column that has a "'," in it.  Is there an easy way in alteryx to go from the below input to the desired output?

 

 

Input

Column 1Column 2Column 3Column 4Column 5Column 6Column 7Column 8
523745,745,768767459768,546673476912316436,5346

 

Desired Output:

Column 1Column 2Column 3Column 4Column 5Column 6Column 7Column 8
5237457459768673476912316436
 745 546   5346
 76876      

 

2 REPLIES 2
Aaron_Harter
11 - Bolide

@yuganda

 

You may want to Transpose the data, perform the parse with Text to Columns, then Cross Tab back into your original field schema:

2.PNG

 

yuganda
5 - Atom

Thanks, the above worked, never thought to used the tile function.

Labels