Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Copy and paste the Row data in column based on specific data

Alteryx_Geek
8 - Asteroid

Hello,

 

Can anyone help me with this below ?

 

I have the data in Row and column format as shown in below,

              Column 1          Column 2

Row 1     Apple 1

Row 2     Banana             

Row 3     Orange              

Row 3     Strawberry        

Row 4     Pineapple         

Row 5     Apple 2

Row 6     Banana             

Row 7     Orange             

Row 8     Strawberry       

Row 9     Pineapple         

 

Now I want to have the output as below,

 

 

              Column 1          Column 2

Row 1     Apple 1

Row 2     Banana             Apple 1

Row 3     Orange              Apple 1

Row 3     Strawberry        Apple 1

Row 4     Pineapple         Apple 1

Row 5     Apple 2

Row 6     Banana             Apple 2

Row 7     Orange             Apple 2

Row 8     Strawberry       Apple 2

Row 9     Pineapple         Apple 2

 

Would be really appreciated if someone can help me in figuring this out 

 

 

2 REPLIES 2
binuacs
21 - Polaris

@Alteryx_Geek One way of doing this

binuacs_0-1686865858087.png

 

Alteryx_Geek
8 - Asteroid

@binuacs - Thanks, this works perfect.

Labels
Top Solution Authors