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

Extracting Unique Values when values are in one cell separated via Comma

Masond3
8 - Asteroid

HI Team,


Hoping you can help me.

I have an excel which has two Columns;

 

ID : Column A
Account Code : Column B

 

 

IDAccount Code
2533642 
  
1529358341060
9380529264672, 264690
 340230
570804340290

 

 

What i would like to achieve is, for a given account Code (Column B) where the ID (Column A) is populated then provide me a unique row for every combination

 

NB: There can be multiple account codes associated to an Id, and these are separated out via a comma

 

Expected Result #

 

IDAccount Code
1529358341060
9380529264672
9380529264690
570804340290

 

Looking forward to your help 

 

3 REPLIES 3
ChrisTX
15 - Aurora

First use a Filter tool 

  IF !IsEmpty([ID])  AND !IsEmpty([Account Code]) THEN 1 ELSE 0 ENDIF

 

Then use a Text to Columns tool, split to rows, with delimiter comma.  Key field would be your ID field.

 

Chris

 

mihaicom20
8 - Asteroid

Hello,

 

Maybe the flow attached can help you. The final result is like the one you wanted.

 

Regards

Qiu
20 - Arcturus
20 - Arcturus

@Masond3 
Hope this would help

0406-Masond3.PNG

Labels