Start your journey with Alteryx Machine Learning - Take our Interactive Lesson today!

Alteryx Machine Learning Discussions

Find answers, ask questions, and share expertise about Alteryx Machine Learning.
Getting Started

Start your learning journey with Alteryx Machine Learning Interactive Lessons

Go to Lessons

Transposing cell values to newly created columns

krnstpn
5 - Atom

Hi, 

I am cleaning a dataset, and i want to transpose the values of a cell to a newly created column to separate the values into vertical layout.

Example, from this layout:

Customer
C1-0000001
Mary Ann Williams
18 CONGRESSIONAL AVENUE
NEW YORK
UNITED STATED
C1-0000002
John Smith
9TH ELM ST. 
NEW JERSEY
UNITED STATED

 

To this:

 

Customer NumberCustomer NameAddress
C1-0000001Mary Ann Williams18 CONGRESSIONAL AVENUE NEW YORK UNITED STATED
C1-0000002John Smith9TH ELM ST. NEW JERSEY UNITED STATED
2 REPLIES 2
seefadeeb
5 - Atom

Hi @krnstpn

 

See my attached flow with solution.

 

c-lopez
Alteryx
Alteryx

Hi,
@seefadeeb's solution is perfect, but just for fun here is a second one.

I hope it helps!