Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sub Total Colours

Hi All

In my pivot table i have the subtotal background colours set to

=if (ROWNO() = 0, rgb(21,165,234))

For the field 'Variance' I have the text colour set to

=if (ROWNO() = 0, WHITE())

How do I amend it so that If the sub total for 'Variance' is <0 it is red.

Thank you for your help.

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

if(rowno()=0 or isNull(rowno())

  ,If(Variance>0,White(),Red())

)

View solution in original post

1 Reply
anbu1984
Master III
Master III

if(rowno()=0 or isNull(rowno())

  ,If(Variance>0,White(),Red())

)