I have pivot table in which I am trying to use conditional formatting based on 5 cells that I have setup up in column D. I want the rows inside the pivot table to be highlighted based on the value starting with cell R12 (part of the pivot table). I have been able to get 4 of the conditions to work correctly, its the last one less than or equal to 0% that is not working.
Here are my conditions:
Cell: D5(contains 46.2%) --Green = >=46.2%
Yellow= Between 40.2% and 46.2%
Cell: D9(contains (40.2%)--Light Red = <40.2%
Dark Red = <=0** Not working**
Orange = If text in column F (part of pivot begins with "MGS"
I tried playing with the order of the light red and dark red conditions but my cells that are less than 0 keep coming up with light red formatting instead of the dark red.
Here are the formulas I am typing in conditional formatting, in the same order as above:
$R12>=$D$5
IF($R12<$D$5,1," ")+IF($R12>$D$9,1," ")
$R12<=$D$9
$R$12<=0
LEFT($F12,4)="MGSV"
Does anyone see why my dark red condition ("=$R$12 <=0") is not working?
Another quick question I have is that every time I change a filter in my pivot table the cells that "Values" section of the pivot table are removed from the Conditional format Range, leaving only cells that are in the "Row labels" section. Is there a way to set my conditional format range to cells inside the pivot table while ignoring the header and footer section of the pivot?
Thank for your help,
James
Here are my conditions:
Cell: D5(contains 46.2%) --Green = >=46.2%
Yellow= Between 40.2% and 46.2%
Cell: D9(contains (40.2%)--Light Red = <40.2%
Dark Red = <=0** Not working**
Orange = If text in column F (part of pivot begins with "MGS"
I tried playing with the order of the light red and dark red conditions but my cells that are less than 0 keep coming up with light red formatting instead of the dark red.
Here are the formulas I am typing in conditional formatting, in the same order as above:
$R12>=$D$5
IF($R12<$D$5,1," ")+IF($R12>$D$9,1," ")
$R12<=$D$9
$R$12<=0
LEFT($F12,4)="MGSV"
Does anyone see why my dark red condition ("=$R$12 <=0") is not working?
Another quick question I have is that every time I change a filter in my pivot table the cells that "Values" section of the pivot table are removed from the Conditional format Range, leaving only cells that are in the "Row labels" section. Is there a way to set my conditional format range to cells inside the pivot table while ignoring the header and footer section of the pivot?
Thank for your help,
James