In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Need Multiple IF AND Formula Help

cpbrehmer
7 - Meteor

I am trying to use a Formula to find values in two columns and return different results based on those values. Is that possible and can someone assist? I have the first IF AND working but don't know how to add additional values.

 

Ex - 

 

IF Contains([Field1],"Value1") && Contains([Field2],"ValueX")

THEN .10

IF Contains([Field1],"Value2") && Contains([Field2],"ValueY")

THEN .20

 

1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus

IF
Contains([field1],"Value1") && Contains([field2],"ValueX")
THEN '.10'
ELSEIF
Contains([field1],"Value2") && Contains([field2],"ValueY")
THEN '.10'
ELSE
'.99'
ENDIF

 

That should do it for you :)

 

Happy Easter,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors