+ Reply to Thread
Results 1 to 5 of 5

Highlight a sorted cumulative range

  1. #1
    Registered User
    Join Date
    08-19-2010
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    97

    Highlight a sorted cumulative range

    OK, what i'm trying to do is auto-highlight green and bold percentages that equal, counting highest to lowest, 80% of the total.

    I thought there would be a conditional format that would work but it looks like that only looks at top or bottom x percentile which is not what i need.

    in other word, if i had the following numbers:
    5%, 20%, 2%, 20%, 10%, 3%, 20%, 20% what i would want is all the 20%s to be green and bold.

    this would need to be looked at on a row by row basis.

    Any help is appreciated.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Highlight a sorted cumulative range

    Hello juniperjacobs,

    Why all 20% values? There are many ways to arrive at a sum of 80% with numbers you shown. Is there no lower limit cutoff?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    08-19-2010
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Highlight a sorted cumulative range

    i was just picking random numbers to illustrate, the %s will likely not be so obvious. if that makes sense.

  4. #4
    Registered User
    Join Date
    07-18-2011
    Location
    Venice, FL
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Highlight a sorted cumulative range

    Hi Juniperjacobs,
    I'm new at this and it's my first try, but here's an idea for you to try.
    First sort your numbers, high to low. Then, using the conditional formatting you spoke of, go in and use this formula (or one similar I reckon) to determine which values are true and the set your formatting for green fill and bold font. The code is:
    Please Login or Register  to view this content.
    Hope that helps. If not, well, sorry, rookies like myself have to start somewhere.
    GSM

  5. #5
    Registered User
    Join Date
    08-19-2010
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Highlight a sorted cumulative range

    this would be awesome, and thanks for the response. but i should mention, the data will not be in a position to be sorted. it's organized by a different parameter that cannot be changed. so i need a solution that doesn't involve sorting.

    but thank you!

+ 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