+ Reply to Thread
Results 1 to 6 of 6

Selecting top 10% of items with High Score

  1. #1
    Forum Contributor
    Join Date
    10-18-2016
    Location
    Chicago, USA
    MS-Off Ver
    Office 365
    Posts
    220

    Question Selecting top 10% of items with High Score

    Hi All,

    Hope you are doing well!..I am trying to select the top 10% of the items that have high scores by vendor (name in my worksheet)...For Example if If have 32 items for a vendor .. then I should select the items with highest scores and 10% of 32 =3.2 and I need to select 4 items ie ceiling(3.2)...Can you please help with the same....Attached the worksheet with input and expected output in two separate tabs..


    Thanks,
    Arun
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Selecting top 10% of items with High Score

    You can do this with Power Query. Format your source data as a table, then use:

    Please Login or Register  to view this content.
    Close and Load To a table.

    See attached worked example.
    Attached Files Attached Files
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Selecting top 10% of items with High Score

    Helper column need at
    Input D2
    =AGGREGATE(14,6,$C$2:$C$91*($B$2:$B$91=B2),ROUNDUP(COUNTIF($B$2:$B$91,B2)/10,))

    Output A2:C11
    =IFERROR(INDEX('Input '!A:A,AGGREGATE(15,6,ROW('Input '!A$2:A$91)/('Input '!$C$2:$C$91>='Input '!$D$2:$D$91),ROWS(A$2:A2))),"")
    Attached Files Attached Files
    Last edited by Bo_Ry; 07-24-2019 at 05:29 AM. Reason: Correction

  4. #4
    Forum Contributor
    Join Date
    10-18-2016
    Location
    Chicago, USA
    MS-Off Ver
    Office 365
    Posts
    220

    Re: Selecting top 10% of items with High Score

    Hi Olly,

    Thanks a lot !!..Really appreciate your help!!..

    Thanks,
    Arun

  5. #5
    Forum Contributor
    Join Date
    10-18-2016
    Location
    Chicago, USA
    MS-Off Ver
    Office 365
    Posts
    220

    Re: Selecting top 10% of items with High Score

    Hi Bo!..

    This is awesome and works!...Really appreciate your help!!...

    Thanks,
    Arun

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Selecting top 10% of items with High Score

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. You may also 'add reputation' to those who helped you. Thanks.

+ 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. [SOLVED] Low Score = High % Result
    By vill in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2017, 05:55 PM
  2. [SOLVED] Rank items in Pivot table from high to low and low to high based on the filter selected
    By jholiday78 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-19-2017, 11:22 AM
  3. Averages, High Score, Number of particular Score
    By darkblueblood in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2014, 12:52 PM
  4. Eliminating high score in rankings
    By Johnmus in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-23-2012, 08:19 PM
  5. Replies: 2
    Last Post: 03-20-2012, 06:30 PM
  6. Find High Score
    By Lee in forum Excel General
    Replies: 0
    Last Post: 04-16-2005, 02:06 PM
  7. High score list?
    By nc-nc in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-17-2005, 07:06 AM

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