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