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

malformed if statement

lancegoh1
7 - Meteor

hi can someone guide me as to what is wrong with my if statement?

. malformed if statement.png

 

Cheers,

Lance

3 REPLIES 3
harikakummara
6 - Meteoroid

Hi Lance,

 

Remove second "IF" in your formula after "AND" ..

 

if IsNull(team2) AND Contains([Doc Cluster (pre-1p)],"Change of BO") then ....

 

Thanks,

Harika K

Newbie_1
7 - Meteor

I seem to get a similar eeror when i try this formula , Need help!

 

 

IF [A]="None" && [B] ="None"

THEN "No Change"

ELSE IF [A]="MO" && [B]="MO"

THEN "No Change: MO"

ELSEIF [A] != [B]

THEN "Change required"

ELSEIF [Inventory]>= "600" OR [ Inventory]<="-600"

THEN "Review Required"

ELSE "No Review Required"

ENDIF

 

 

Didn't want to create a new duplicate question as it is similar to this original question

 

BenMoss
ACE Emeritus
ACE Emeritus

@Newbie_1, your first elseif statement has a space.

 

Ben

Labels
Top Solution Authors