• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Losing conditional formatting on refresh using slicers|Power Pivot|Excel Forum|My Online Training Hub

You are here: Home / Losing conditional formatting on refresh using slicers|Power Pivot|Excel Forum|My Online Training Hub

vba course banner

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower PivotLosing conditional formatting on re…
sp_PrintTopic sp_TopicIcon
Losing conditional formatting on refresh using slicers
Avatar
Alan Ramsay
Member
Members
Level 0
Forum Posts: 79
Member Since:
April 23, 2015
sp_UserOfflineSmall Offline
1
October 26, 2022 - 2:22 am
sp_Permalink sp_Print

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

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4515
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
October 26, 2022 - 8:45 am
sp_Permalink sp_Print sp_EditHistory

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

Avatar
Alan Ramsay
Member
Members
Level 0
Forum Posts: 79
Member Since:
April 23, 2015
sp_UserOfflineSmall Offline
3
October 26, 2022 - 10:27 am
sp_Permalink sp_Print

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.JPEGImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage ARAMSAY-CONFOR.JPEG (72 KB)
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4515
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
October 27, 2022 - 9:01 am
sp_Permalink sp_Print

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

Avatar
Alan Ramsay
Member
Members
Level 0
Forum Posts: 79
Member Since:
April 23, 2015
sp_UserOfflineSmall Offline
5
November 3, 2022 - 12:15 am
sp_Permalink sp_Print

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.JPEGImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage ARAMSAY-CONFOR2.JPEG (51 KB)
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4515
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
6
November 3, 2022 - 9:01 am
sp_Permalink sp_Print

Great to hear, Alan!

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: John Kobiela, Lia Ro, Malcolm Sawyer
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 216
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Melanie Ford
Isaac Felbah
Adele Glover
Hitesh Asrani
Rohan Abraham
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Forum Stats:
Groups: 3
Forums: 24
Topics: 6356
Posts: 27793

 

Member Stats:
Guest Posters: 49
Members: 32324
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.