Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

If and then else condition usage

Sethuram
5 - Atom

How do I use a formula to check if condition satisfies in two columns and take action based on the result?

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @Sethuram 

 

You can use And (both satisfies) Or (satisfies either) for this formula would be like below. Where [Name] and [ID] are 2 columns.

 

Both satisfy

IF [Name]="A" and [ID]=1 THEN "Y" ELSE "N" ENDIF

 

Either satisfy

IF [Name]="A" or [ID]=1 THEN "Y" ELSE "N" ENDIF

 

atcodedog05_0-1630578326539.png

 

Hope this helps : )

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Sethuram 

Cheers and have a nice day!

Labels
Top Solution Authors