+ Reply to Thread
Results 1 to 2 of 2

Highlight Top n percent of range ignore duplicates

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Bellingham, MA
    MS-Off Ver
    Excel 2013
    Posts
    1

    Highlight Top n percent of range ignore duplicates

    I want to find a formula or conditional formatting that would automatically highlight the highest 20% of the scores in a row, but only the first 20%, no duplicates.
    So in this case there are 13 values in each row, so 20% is 2.6 or rounding up, 3. So I want to highlight the 3 highest values, which should be the 8,8, and 9 in row 1
    highlight1.xlsx

  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: Highlight Top n percent of range ignore duplicates

    you say no duplicates but first row has 8 twice while second row only has one 4 and the rest ignored
    =PERCENTILE(A1:M1,0.8) would give 8
    =PERCENTILE(A2:M2,0.8) would give 4 so you could cf on the basis of >= percentile
    Last edited by martindwilson; 07-16-2013 at 05:36 PM.
    "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

+ 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: 12
    Last Post: 07-04-2013, 07:26 AM
  2. Replies: 5
    Last Post: 02-06-2012, 11:29 AM
  3. Macro to check for duplicates and highlight duplicates
    By obc1126 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-23-2008, 09:55 PM
  4. Ignore Duplicates in Counts
    By dfq in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2007, 03:11 AM
  5. Ignore Duplicates
    By felicsx in forum Excel General
    Replies: 0
    Last Post: 08-23-2006, 03:55 PM

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