Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Multiplying on a condition

Jxys422
6 - Meteoroid

Hi everyone,

 

I am trying to create a formula which will follow an IF statement to produce the output on the table below.

 

Where:

A = -1

B = 1 

 

IF [A/B] = "A" THEN [Amount] * -1

 

Could anyone help me with this? Ideally it would add a new column called 'Output'

 

Thanks!

 

AmountA/BOutput
100A-100
100B100
XYZA-XYZ
2 REPLIES 2
EmilyCR
Alteryx Alumni (Retired)

Hi @Jxys422 I've attached a workflow with the IF statement for you. 

Jxys422
6 - Meteoroid

Thanks EmilyCR!

Labels
Top Solution Authors