+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting applied to a pivot table doesn't work as it should

  1. #1
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Conditional formatting applied to a pivot table doesn't work as it should

    Hello everyone

    I have a problem concerning conditional formatting and pivot tables.

    After executing the following macro:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    on a sheet which contains a pivot table, it happens exactly what I want which is negatives get shaded. But if after that you expand any of the categorys within the pivot table, the selection to which the conditional format is applied changes and it no longer works, even when the categorys are closed again.

    Can any of you think of a solution to this, so that the conditional format will be applied to all the cells of the pivot table, even when you expand or close each category?

    Thanks in advance
    Last edited by Pichingualas; 03-13-2012 at 02:04 PM.

  2. #2
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Conditional formatting applied to a pivot table doesn't work as it should

    Anyone help please?

  3. #3
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Conditional formatting applied to a pivot table doesn't work as it should

    You need to apply the formatcondition to each data field individually and then set the format conditions scope using:
    Please Login or Register  to view this content.
    Good luck.

  4. #4
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Conditional formatting applied to a pivot table doesn't work as it should

    I solved it, posting in case it helps anyone else:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    There it goes, hope it helps someone else.
    Last edited by Pichingualas; 03-14-2012 at 07:59 AM.

  5. #5
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Conditional formatting applied to a pivot table doesn't work as it should

    Quote Originally Posted by OnErrorGoto0 View Post
    Tip for the future: if you don't give feedback, you won't get feedback.
    Thanks but it turns out I didn't need it this time.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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