Free Trial

Alteryx Designer Desktop Discussions

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

Check if String in Column A Matching with Column B

VijayGopal
6 - Meteoroid

Hi All,

I'm working on the following problem to check if the strings match. Thank you in advance for your assistance.

 

Column AColumn BCheck
1234, 1122,12311231,1234,1122True
2233,11332233,1111False
0011,11440011False
3 REPLIES 3
KGT
12 - Quasar

A conditional statement will get you there.

If [Column A]==[Column B] THEN 1 ELSE 0 ENDIF

flying008
15 - Aurora

Hi, @VijayGopal 

 

FYI.

 

录制_2025_05_15_11_23_03_987.gif

ntakeda
12 - Quasar

 

Since Alteryx does not allow direct comparison of lists, you should first expand them.

Then, sort both ColumnA and ColumnB in ascending order and assign row numbers to each item.

Next, compare the items with the same row number. If any pair is different, return false.

A sample workflow has been created.
Please check the workflow for more details.

 

2025-05-15_12h33_17.png

Labels
Top Solution Authors