We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Best/easiest way to determine if two columns in same dataset match

orinocoworkflow
6 - Meteoroid
I am using the email tool to compose emails (one email per record) and am having difficulty figuring out how to avoid CCing the same person as the email is to be sent to.
 
I want to compare two columns in the same dataset - "Email recipient" and "CC" and if they match, to make the CC column null so that email address isn't pulled into my email send. Is there a simple way to do this? Even a basic formula to create a Y/N column like if matches [A] and [B] then "Y"
 
This seems like it should be simple but I can't figure it out.
 
Thanks in advance for any help
2 REPLIES 2
flying008
15 - Aurora

Hi, @orinocoworkflow 

[CC] = IIF([recipient]= [CC],Null(), [CC])

 

orinocoworkflow
6 - Meteoroid

Ahh, thank you so much! I knew there had to be an easier solution than what I was finding.

Labels
Top Solution Authors