Calling all Racers for the Alteryx Grand Prix! It's time to rev your engines and race to the stage at Inspire! Sign up here.

Alteryx Designer Discussions

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

QUESTION --> IF c THEN t ELSE f ENDIF

PedroPerdomo
6 - Meteoroid

Hi There,

good morning,

 

I am stuck trying to get a Workflow done, this is my issue: in a table I have different customers under [consignee names] but each customer goes to a different terminal (new column that i would like to create with that terminal, so I did a formula using IF for the first customer, but I don't know how to create it for the next customers.

 

Ex (everything ok through here). 

IF [Consignee Name]="Customer1" THEN "Column AA" ELSE "" ENDIF

 

So I need to continue the formula adding

Customer 2 to Column AB

Customer 3 to Column CD 

etc etc.

 

Any help I will appreciate it.

Thanks in advance,

 

 

 

 

12 REPLIES 12
SahadhKuruniyan
7 - Meteor

I am facing same issue

SahadhKuruniyan_0-1634376082084.png

When I try to put ENDIF everything become black

SahadhKuruniyan_1-1634376132515.png

 

ChrisTX
14 - Magnetar

@SahadhKuruniyan can you post your workflow? 

 

Is your field name spelled correctly?

 

"Differeces" versus "Differences"

 

Chris

 

olsenprime
5 - Atom

Thanks @SamDesk! I had an ENDIF problem and had no idea about adding the last ELSE statement!

Labels