Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

IF formula question with an empty value in column

anitamarie2020
8 - Asteroid

Hi All, 

 

I just had a question on an if Statement for the below if anyone has come across one. 

If the cell in client is blank to use the cell in column A (Person) . I've tried a few and they just don't seem to work 

 

anitamarie2020_0-1685015718904.png

 

Thank you in advance 

Anita

 

6 REPLIES 6
Kenda
16 - Nebula
16 - Nebula

Hi @anitamarie2020 

 

Have you tried the isempty() function in your if statement? 

anitamarie2020
8 - Asteroid

I have - not sure if I have the wrong formula in for it

Kenda
16 - Nebula
16 - Nebula

Can you provide the expression you have tried so that we can see where it may need to be modified? 

anitamarie2020
8 - Asteroid

IF (IsEmpty([Client ])) then [Person ] ENDIF

Kenda
16 - Nebula
16 - Nebula

I see. Thanks for providing that! The structure of an if statement in Alteryx is as follows:

IF c THEN t ELSE f ENDIF

 

It looks like you're just missing the "else" piece in your expression. With this, you're telling Alteryx what to do when Client is not empty. Try adding

else [Client]

before your endif.

nagakavyasri
12 - Quasar

This works according to your current data:

 

Screenshot 2023-05-25 120321.png

Labels