In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
21 - Polaris
21 - Polaris

@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
21 - Polaris
21 - Polaris

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

Labels
Top Solution Authors