The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RÉSOLU

Column rules - conditional format with several conditions - Table tool

Luciano-ip
Météoroïde

Hi! I am trying to format a column to color the cells as follows but I end up with all green results... I just cannot get to the correct formula to take into account the other 2 previous conditions.

 

For the green format I was using the following formula: !contains([Field1],"Wrong") or !contains([field1],"Check")

 

Red: if it contains the word "Wrong"

Orange: if it contains the word "Check"

Green: If it does not contain any of the above mentioned words (Wrong or check)

 

Thanks in advance!

3 RÉPONSES 3
PhilipMannering
16 - Nebula
16 - Nebula

I think you want "and",

 

!contains([Field1],"Wrong") and !contains([field1],"Check")

 

Green if Field1 is not "wrong" AND Field1 is not "check.

 

Alternatively,

not (contains([Field1],"Wrong") or contains([field1],"Check"))
MilindG
Quasar
Luciano-ip
Météoroïde

Thanks!! it worked perfectly.

Étiquettes
Auteurs des meilleures solutions