+ Reply to Thread
Results 1 to 2 of 2

Pivot table conditional formatting changing on collapsing pivot table

  1. #1
    Registered User
    Join Date
    10-04-2022
    Location
    Australia
    MS-Off Ver
    MS365
    Posts
    1

    Pivot table conditional formatting changing on collapsing pivot table

    Hi,

    I have a pivot table, to which I have added a calculated column. On this column i have added 5 conditional formats to colour code the cells to be different colours based on "cell value between" condition. The Applies to reads "=$D$3:$D$500".

    It looks great on the pivot table UNTIL i collapse the pivot table or refresh the data.

    Then the conditional format disappears and the Applies To reads =$D$3,$D$45:$D$500.

    How can i keep the conditional formatting when I

    1. refresh the data
    2. collapse the data?

    Thanks in advance for your help
    Attached Files Attached Files
    Last edited by KTDC; 10-04-2022 at 03:03 AM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,568

    Re: Pivot table conditional formatting changing on collapsing pivot table

    Instead of applying the rules to a range of cells they need to be applied to all cells showing sum of field 4 values.
    I have changed the rule for cell value >=1 as an example.
    The other rules will need to be deleted and then re applied using the second option under apply rules to in the dialog box.
    This linked tutorial may help you better understand: https://www.excelcampus.com/pivot-ta...atting%20to%20
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 10-05-2021, 10:33 AM
  2. Pivot Table Collapsing/Expanding rows with same data
    By j_cole in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-09-2016, 04:13 PM
  3. Replies: 2
    Last Post: 09-04-2015, 02:47 AM
  4. Changing pivot table date formatting
    By DANDERSEN in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-22-2013, 05:59 PM
  5. collapsing/expanding pivot table fields in excel 2003
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-20-2013, 11:52 AM
  6. Pivot Table is collapsing
    By bcn1988 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-06-2013, 08:45 AM
  7. expanding/collapsing details in pivot table and scatterplot
    By woontime in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-28-2011, 09:22 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1