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.

Combining Multiple Columns

RBoyd
6 - Meteoroid

I have 2 sets of columns, each with name and email address, as part of a larger dataset.  I need to combine the 2 sets of columns into one and duplicate and insert the entire row if the differ.

 

Example:

This is part of a larger data set but these are the relevant sets of columns. 

RBoyd_0-1685043351371.png

If both sets are the same, nothing needs to be done. 

If name and email 1 is empty then name and email 2 should be moved to name and email 1

If the data differs, i need the entire row duplicated with the name 2 and email 2 replacing name 1 and email 1 in the newly generated row.

 

Example of what the data should look like after:

RBoyd_1-1685043541602.png

 

If I can provide any additional information, please let me know. Thanks!

4 REPLIES 4
binuacs
21 - Polaris

@RBoyd One way of doing this

binuacs_0-1685046804742.png

 

RBoyd
6 - Meteoroid

@binuacs This way did not duplicate the final row and bring in the final name (sally) in Name 2 email 2

binuacs
21 - Polaris

@RBoyd I updated the workflow, let me know if that works for you

binuacs_0-1685047514987.png

 

flying008
15 - Aurora

Hi, @binuacs 

 

Nice job ! 👍

 

flying008_0-1685060413692.png

 

Labels
Top Solution Authors