Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Highlighting Certain Letters

ajaydhamrait
7 - Meteor

Hi All,

 

I'm trying to highlight one of the fields Yellow on the Excel Output if it doesn't have '4' or '5' (column rule). I've tried the formula: 

[Field] NOT IN ('4',5’)   

 

But it hasn't worked. Any suggestions?

 

Thanks!

2 REPLIES 2
messi007
15 - Aurora
15 - Aurora

@ajaydhamrait,

 

Please see below :

 

messi007_0-1652459141275.png

 

I used the condition on the table tool :

 

messi007_1-1652459192697.png

 

Attached the workflow,

 

Hope this helps !

Regards,

OllieClarke
16 - Nebula
16 - Nebula

@ajaydhamrait 

If you want any occurrence of a 4 or 5 to be unhighlighted, like this:

OllieClarke_0-1652459334275.png

Then use this formula:

 

!CONTAINS(Tostring([Field]),'4') 
AND 
!CONTAINS(Tostring([Field]),'5')

 

Otherwise amend your formula to add a tostring() as IN() requires string data

 

ToString([Field]) NOT IN('4','5')

 

OllieClarke_1-1652459489210.png

Hope that helps,

 

Ollie

 

Labels
Top Solution Authors