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

General Discussions

Discuss any topics that are not product-specific here.

Parsing comma separated values for similar values

qais1975
8 - Asteroid

Hi All,

 

I have several columns with concatenated values separated by comma. Each row has a unique key and multiple columns each column has several values separated by comma. I want to parse each column and identify if the values within this column is similar or different. If the values are similar I need to report one value otherwise report the different values. 

 

Is there away to use RegEx or formula to do that, please? 

4 REPLIES 4
Luke_C
17 - Castor
17 - Castor

Hi @qais1975 

 

I would probably transpose the data and do text-to-columns all at once to start, but without seeing sample data and desired output it's a bit tricky to say.

BethanG
5 - Atom

Hi @qais1975, I'd recommend using the Text to Columns tool, getting it to Split To Rows, then using the Unique tool to remove duplicates

qais1975
8 - Asteroid

Hi @Luke_C 

 

The sample data and the desired output attached below. Thank you in advance for your help. 

qais1975
8 - Asteroid

Dear @BethanG ,

 

Attached are the sample data and desired output. Thank you so much for your help and support. 

Labels
Top Solution Authors