9 Replies Latest reply: Aug 18, 2017 4:00 AM by sriram s

# back ground color

Hello all,

I have requirement based on the values of if condition the back ground color needs to be applied. The given expression is

=IF(IF([ABC Indicator]='A',IF(COUNT([Batch ID])>=20,1,1-fabs((20-COUNT([Batch ID]))/20)),IF([ABC Indicator]='C',IF(COUNT([Batch ID])<=12,1,1-fabs((12-COUNT([Batch ID]))/12)),

IF([ABC Indicator]='B',IF(COUNT([Batch ID])>24,1-fabs((24-COUNT([Batch ID]))/24),IF(COUNT([Batch ID])<11,1-fabs((11-COUNT([Batch ID]))/11),1))))) >=0.9,'G',IF(

IF([ABC Indicator]='A',IF(COUNT([Batch ID])>=20,1,1-fabs((20-COUNT([Batch ID]))/20)),IF([ABC Indicator]='C',IF(COUNT([Batch ID])<=12,1,1-fabs((12-COUNT([Batch ID]))/12)),

IF([ABC Indicator]='B',IF(COUNT([Batch ID])>24,1-fabs((24-COUNT([Batch ID]))/24),IF(COUNT([Batch ID])<11,1-fabs((11-COUNT([Batch ID]))/11),1)))))<0.75,'R','A'))

So For G -Green

A -Yellow

R - Red

The back ground needs to be applied for the value of R,A and G.

Can anyone please suggest me how to provide the back ground color for the above condition.

• ###### Re: back ground color

Would you be able to share a sample?

• ###### Re: back ground color

Hi,

May be like this in the window for the background of the expression in the chart

=IF(IF([ABC Indicator]='A',IF(COUNT([Batch ID])>=20,1,1-fabs((20-COUNT([Batch ID]))/20)),IF([ABC Indicator]='C',IF(COUNT([Batch ID])<=12,1,1-fabs((12-COUNT([Batch ID]))/12)),

IF([ABC Indicator]='B',IF(COUNT([Batch ID])>24,1-fabs((24-COUNT([Batch ID]))/24),IF(COUNT([Batch ID])<11,1-fabs((11-COUNT([Batch ID]))/11),1))))) >=0.9,Green(),IF(

IF([ABC Indicator]='A',IF(COUNT([Batch ID])>=20,1,1-fabs((20-COUNT([Batch ID]))/20)),IF([ABC Indicator]='C',IF(COUNT([Batch ID])<=12,1,1-fabs((12-COUNT([Batch ID]))/12)),

IF([ABC Indicator]='B',IF(COUNT([Batch ID])>24,1-fabs((24-COUNT([Batch ID]))/24),IF(COUNT([Batch ID])<11,1-fabs((11-COUNT([Batch ID]))/11),1)))))<0.75,Red(),Yellow()))

• ###### Re: back ground color

the entire column is becoming green color and not the values are shown in this case, I want to be like

• ###### Re: back ground color

In the attached file, a simplified example of what I suggest.

• ###### Re: back ground color

Thanks very much for your help,It was good to proceed with

• ###### Re: back ground color

It would be better if you can tell how to rewrite the expression for color combination

Thanks

Sriram

• ###### Re: back ground color

Is this for me? I am not sure how to write anything before I see more then just an expression...