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

How to color specific text within a cell

winiarc
5 - Atom

Hi, I am looking for a way to color specific text within a cell, my data within the cell looks something like this:

 

xyz RED xyz xyz xyz

xyz xyz xyz GREEN

 

I want the word 'red' to be colored red,  the word 'green' to be colored green, etc.

 

I keep trying row / column rules within the table tool but can't get the desired effect.

 

Any help appreciated, thank you

 

7 REPLIES 7
Qiu
21 - Polaris
21 - Polaris

@winiarc 
I think we can color the cell, but not the different colors in one Cell.

winiarc
5 - Atom

I'm pretty sure it's possible using a formula within the table tool, I just can't find the exact way to do this..

Qiu
21 - Polaris
21 - Polaris

@winiarc 
I have replied something for the whole cell but not for part of the cell.
I would love to see how it can be achieved.
https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formatting-Row-rule-in-Basic-T...

binuacs
21 - Polaris

@winiarc One way of doing this

image.png

winiarc
5 - Atom

Hi, thank you, so this works well!

 

I do have a subsequent issue though which is the line breaks I have within the cells get removed when I use this method, I am guessing it's the table tool itself that does that

binuacs
21 - Polaris

@winiarc That is correct, the table tool replaces the new line characters, there are workaround to replace the new line character with <b \>

winiarc
5 - Atom

Can you elaborate please, how would I do that exactly ?

Labels
Top Solution Authors