+ Reply to Thread
Results 1 to 5 of 5

Arrange top 5 items from a list in decreasing order

  1. #1
    Registered User
    Join Date
    08-13-2020
    Location
    Sydney
    MS-Off Ver
    2010
    Posts
    78

    Arrange top 5 items from a list in decreasing order

    Hi,
    I have a list of items in a table with risk name and corresponding $ values for most likely, min and max.

    I want to populate another table with top 5 items from the table based on their most likely values (arranged in decreasing order). I managed to get the top 5 values as seen on the attached but have trouble to get the corresponding risk items names.

    I was looking to use Vlookup but it cannot go to the left.

    Also, how can we make sure that the correct item is returned when more than one item has same most likely values (in this case 200000 is repeated)
    Attached Files Attached Files
    Last edited by chaliseyp; 04-12-2021 at 09:57 PM.

  2. #2
    Forum Contributor
    Join Date
    11-21-2013
    Location
    zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    124

    Re: Arrange top 5 items from a list in decreasing order

    Maybe this
    H7:
    Please Login or Register  to view this content.
    I7:
    Please Login or Register  to view this content.
    Confirm them all with Ctrl+Shift+Enter then drag down

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,600

    Re: Arrange top 5 items from a list in decreasing order

    Try this . In H7 and copied down

    =INDEX($B$6:$B$21,AGGREGATE(15,6, ROW($B$6:$B$21)/($D$6:$D$21=I7),COUNTIF($I$7:$I7,$I7))-ROW($B$5))
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Arrange top 5 items from a list in decreasing order

    If your excel actual is 2010, you might not have AGGREGATE, so

    Try in H7:

    Please Login or Register  to view this content.
    Quang PT

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

    Re: Arrange top 5 items from a list in decreasing order

    Please try at H7

    =INDEX($B$1:$B$21,MOD(SMALL(INDEX(ROW($A$6:$A$21)-$D$6:$D$21*10^6,),ROWS(H$7:H7)),10^6))


    Aggregate available in Excel 2010 and above
    https://support.microsoft.com/en-us/...6-e19993fa26df
    Attached Files Attached Files

+ 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] Extract and return a distinct and duplicate items list separately from a two list items
    By Mohammad Munawar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-14-2020, 07:42 AM
  2. Help with finding items in a List and adding items not found
    By DawaiDost in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-29-2016, 10:56 AM
  3. [SOLVED] To compare a list of items in column ? with items in all columns that are not blank.
    By JamesJohnson31 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-03-2015, 03:32 PM
  4. Replies: 1
    Last Post: 09-03-2012, 10:03 PM
  5. How do I refer to the items in a combobox by their number in the list of items?
    By lottesfog in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2007, 10:03 PM
  6. Replies: 1
    Last Post: 06-24-2005, 12:21 AM
  7. Items in disabled items list - unknown excel addins causing probs
    By Rich in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2005, 06:06 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