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

IF Conditional Formatting

magsbiel
7 - Meteor

Hi,

 

I have two columns in my data:

 

Item   Category

A        Apple

B        Apple

C        Lemon

D        Orange

E        Apple

 

I am trying to replace "Apple" for "B" with "Banana" and "Apple" for "E" with "Banana" as well. I tried IF statements, switch, nothing works. Any idea how to do it?

2 REPLIES 2
afv2688
16 - Nebula
16 - Nebula

Hello @magsbiel ,

 

Does this work for you?

 

IIF([2] = 'Apple' AND [1] IN ('B','E'), 'Banana', [2])

 

Untitled.png

 

Regards

magsbiel
7 - Meteor

It worked. Thank you so much!

Labels
Top Solution Authors