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

Conditional format for multiple columns - More help please

Haokun
8 - Asteroid

Hi 

 

Below is the current table, I only need to do certain columns for conditional formatting. The column will be the header name with red colour. Also, there will be more columns, but any header contains "vs" i need to do the conditional formatting. For the data under red colour column, if the amount is more than 0, cell colour needs to be green, amount is less than 0, cell colour needs to be red. I don't know how to build it via "table" tool. Please advise me, thanks so much and appreciate your time!

 

C-1M FundC-1M BMMS-1M FundMS-1M BMES-1M FundES-1M BMC vs M-1M FundC vs M-1M BMC vs ES-1M FundC vs ES-1M BMM vs ES-1M FundM vs ES-1M BMC-3M FundC-3M BMMS-3M FundMS-3M BMES-3M FundES-3M BMC vs M-3M FundC vs M-3M BMC vs ES-3M FundC vs ES-3M BMM vs ES-3M FundM vs ES-3M BM
-1-1.1100-1-1.110000003.252.81003.252.81000000
-0.62-0.841.430-0.62-0.84-2.050002.0502.423.170.3502.423.172.07000-2.070
-1.11-0.622.232.23-1.11-0.62-3.34-2.85003.342.859.811.594.034.039.811.595.777.5600-5.77-7.56
-2.12-1.53-0.99-2.6300-1.131.1-2.12-1.53-0.99-2.634.133.7-0.46-0.05004.593.754.133.7-0.46-0.05
-2.12-1.53-1.98-2.6300-0.131.1-2.12-1.53-1.98-2.634.143.7-1.46-0.05005.63.754.143.7-1.46-0.05
-0.94-1.890.172.44-0.94-1.89-1.11-4.33001.114.335.787.10.983.445.787.14.83.6600-4.8-3.66
-0.63-0.41.92000-2.550-0.63-0.41.9206.714.573.390003.3106.714.573.390
-0.63-0.41.92000-2.550-0.63-0.41.9206.714.573.390003.3106.714.573.390
-3.62-3.45-3.03-2.6600-0.59-0.78-3.62-3.45-3.03-2.661.146.46-4.81-0.17005.956.631.146.46-4.81-0.17
3 REPLIES 3
ehughes
9 - Comet

Hi Haokun,

 

You'll need to create Column Rules in the Table Tool. As far as I know, you need to create the column rules for each individual column where you want the conditional formatting. You can then create multiple rules for the column (so for column>0, apply green text and for column<0 apply red text). I've attached some screenshots that show you how you might configure the Column Rules. To view the formatting, make sure to add a browse tool at the end.

 

ehughes_2-1606924953461.png

 

ehughes_0-1606924893586.pngehughes_1-1606924895052.png

 

Haokun
8 - Asteroid

@ehughes 

would be any easier way? cause there will be over 50 columns to do conditional formatting in my case...

 

thanks!

atcodedog05
22 - Nova
22 - Nova

Hi @Haokun 

 

Apparently there is no other way. You need to specify rule for all columns.

Labels
Top Solution Authors