Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Comparing data in 2 columns with comma separated fields

fnew
5 - Atom

Sorry if I missed an existing post with this solution but I simply couldn't find one. 

I currently have 2 columns with data that is comma separated like below. I'm trying to compare these 2 columns and identify the missing values that I don't have in the Required Ingredients column. 

fnew_0-1637193848215.png

Needed output

fnew_1-1637193885000.png

 

4 REPLIES 4
Qiu
20 - Arcturus
20 - Arcturus

@fnew 
Hope this would work for you.

1118-fnew.PNG

Chantelb
9 - Comet

Hi @fnew 

 

If you use the Text to Columns tool to split to rows using a comma as a delimiter you can then join 'Current' to 'Required' and then concatenate anything that doesn't join to make 'Needed': 

 

Chantelb_1-1637196836392.png

 

The workflow is attached if you need. Hope this helps!


Cheers,

Chantel

 

 

fnew
5 - Atom

Thank you so much !!  I really appreciate it.

Qiu
20 - Arcturus
20 - Arcturus

@fnew 
Glad to help and thank you for the accept mark.

Labels