Forum

Losing conditional ...
 
Notifications
Clear all

Losing conditional formatting on refresh using slicers

6 Posts
2 Users
0 Reactions
799 Views
(@alanr)
Posts: 79
Estimable Member
Topic starter
 

Hi everyone, I have a workbook with multiple slicers and conditional formatting rules.  I have been working with this file for months an have had no issues with the conditional formatting rules being retained when the pivot table is refreshed - until recently.  Not sure what I have done to cause the issue but now when I refresh the table by changing a slicer selection the conditional formatting is removed.  I have the "preserve cell formatting on update" checked, I can use the format painter to apply the conditional format rules on all cells and it displays correctly, but when I change a slicer variable the conditional formatting is removed.

Could you possibly give some suggestions how to fix this?

Alan

 
Posted : 26/10/2022 12:22 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Alan,

When using conditional formatting with PivotTables you need to set it up in a particular way which is described in this tutorial on conditional formatting in PivotTables

Hope that helps. If you're still having problems, please come back and share the file so we can see the issue.

Mynda

 
Posted : 26/10/2022 6:45 pm
(@alanr)
Posts: 79
Estimable Member
Topic starter
 

Hi Mynda,

Many thanks and of course the article was very helpful - I have almost got it back to the previous iteration.  The file is very large so I have not posted it here but I am hoping the screen shot might help with my final dilemma.  You can see I have most of the rules applied to the field references but the last one with the orange fill format keeps defaulting to a cell range - any idea what I am doing wrong to generate that?

Alan

 

ARAMSAY-CONFOR.JPEG

 
Posted : 26/10/2022 8:27 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Alan,

Hard to say as I can't see the row and column labels in the screenshot to reference it to the conditional formatting rule. Perhaps you have selected cells that are outside of the PivotTable values area in the applies to range?

Mynda

 
Posted : 27/10/2022 7:01 pm
(@alanr)
Posts: 79
Estimable Member
Topic starter
 

Hi Mynda,

Sorry for the delay replying.  I seem to have got it working though to be honest I sort of stumbled through it rather than having a "light bulb" moment. I applied the rule to each column individually and it is working as intended.  Thanks for the help! 

AlanARAMSAY-CONFOR2.JPEG

 
Posted : 03/11/2022 10:15 am
(@mynda)
Posts: 4761
Member Admin
 

Great to hear, Alan!

 
Posted : 03/11/2022 7:01 pm
Share: