ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
1 Day Left! - The Alteryx Community will be temporarily unavailable for a few hours due to implementation of the new SSO experience starting tomorrow at 5pm MDT. Please plan accordingly. For more information, read the blog.

Alteryx Designer Discussions

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

How to arrange similar column names side by side and its results after the comparison

I have two excel sheets having same column names and i have to compare the columns in a way like print the similar columns side by side  and print the result as True or False in a new column . 

please find the sheets below.

sheet_1 is my first sheet 

sheet_2 is my second sheet

Result is the expected sheet


Note : Here Joining is done based on Emp ID field.


please mention the workflow how to proceed in order to get the expected result as Result sheet

15 - Aurora

Hi @suneelkumarparvatala ,


I've mocked up a workflow that answers your question.



Hope that helps, let me know if you have any questions on the workflow





15 - Aurora
15 - Aurora

Hi @suneelkumarparvatala , I had a similar problem to deal with earlier in one my projects. I tried using the same way as @AngelosPachis  but I had around 100+ columns in one sheet so it took forever to create a formula for specific column. Therefore, I came up with a dynamic solution irrespective of the fact no matter there are n number of columns. Please refer to the screenshot and workflow attached along with this post.




Kindly go through it and let me know in case you have any query and mark this post as solution if useful.




Sapna Gupta

Thanks @AngelosPachis, your framed solution helps me.


Hi @grazitti_sapna, yes i have columns more than 30 and i have to write similar logic for most of them.

thanks for the solution .