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

Formula Help for the newbie & simple fix I am sure....

jaygerbs
7 - Meteor

I think the picture below shows what I am after.  I am given the 1st column & want the 2nd column to be my output.  If there is a blank in the 1st column I want it to stay that way.

 

jaygerbs_0-1611326764684.png

 

Thanks!

 

 

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @jaygerbs,

 

I have prepared a workflow for you:

 

Emil_Kos_0-1611327278466.png

 

The formula you are looking for is :

 

IF [Company A] = 'My company' THEN 'My company' ELSEIF IsNull([Company A]) THEN Null() ELSE 'Not mine' ENDIF

 

The output:

 

Emil_Kos_1-1611327298328.png

 

 

If I misunderstood your request please let me know.

jaygerbs
7 - Meteor

Hey @Emil_Kos

 

That worked!  One other question, if it contains "my company" in the string, what do I need to add to the formula?

 

Thanks again!

jaygerbs
7 - Meteor

Hey @Emil_Kos

 

Disregard my last message.  Thanks, I figured it out.  I appreciate the help.

 

JG

Labels