+ Reply to Thread
Results 1 to 4 of 4

Conditional Formating of Top 80%

  1. #1
    Registered User
    Join Date
    10-15-2008
    Location
    TN
    Posts
    4

    Conditional Formating of Top 80%

    I am trying to highlight the top 80% of products sold in a pivot table and when I use the rules of conditional formating it isn't working: Below is what I need to highlight. Any suggestions?

    30.92% (Highlight in Red)
    25.62% (Highlight in Red)
    20.03% (Highlight in Red)
    10.13% (Highlight in Red)
    6.83%
    2.32%
    2.10%
    2.05%
    0.00%

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Formating of Top 80%

    with data in that order say it started in a1
    =SUM($A1:A$9)>=20%
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-15-2008
    Location
    TN
    Posts
    4

    Re: Conditional Formating of Top 80%

    But I need it to add until it gets to 80% then stop

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Formating of Top 80%

    works with your example
    dont forget as cf applied to the other cells it auto changes ref
    so a2 would be
    =SUM($A2:A$9)>=20%
    a3
    and a3 would be
    =SUM($A3:A$9)>=20%
    and so on
    Last edited by martindwilson; 07-28-2009 at 11:42 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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