+ Reply to Thread
Results 1 to 12 of 12

List top 5 items from a table

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

    List top 5 items from a table

    I want to list the top 5 items from a list based on their dollar value and their corresponding ID + description.

    I use the large function to get the top 5 values. And then lookup function to get the corresponding values from the table.

    The problem is when the values are same (for Risk ID 3 & 6 ), how do i display both items.

    In the desired result, for S.No 3 the Risk ID should be 71 and Risk should be "The IFT design for the delivery method proposed"

    Thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: List top 5 items from a table

    add a small number to make a difference for example rownumber/10000
    column F:G ranking in 2 columns.
    Column H ranking in 1 column (spill formula, i Think, has it {}?, so CTRL+SHIFT+Enter instead of Enter in your 2010 version)
    Please Login or Register  to view this content.
    Then you can use the ranking for your top 5.
    Attached Files Attached Files
    Last edited by bsalv; 11-22-2021 at 02:02 AM.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  3. #3
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: List top 5 items from a table

    Another formula, bigger, but no need for CTRL+SHIFT+Enter and also an alternative of Pivot Table.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,306

    Re: List top 5 items from a table

    POWER QUERY
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: List top 5 items from a table

    Nice but aggregate and PQ didn't exist in TS's 2010-version, what a pity, unless he/she has an upgrade.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: List top 5 items from a table

    Quote Originally Posted by bsalv View Post
    Nice but aggregate and PQ didn't exist in TS's 2010-version, what a pity, unless he/she has an upgrade.
    AGGREGATE was introduced in Excel 2010.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: List top 5 items from a table

    Quote Originally Posted by bsalv View Post
    Nice but aggregate and PQ didn't exist in TS's 2010-version, what a pity, unless he/she has an upgrade.
    And PQ is available to XL2010 as an add-in

  8. #8
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: List top 5 items from a table

    my apology, you 're right.

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

    Re: List top 5 items from a table

    Thanks all for your help.

  10. #10
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: List top 5 items from a table

    Quote Originally Posted by bsalv View Post
    Nice but aggregate and PQ didn't exist in TS's 2010-version, what a pity, unless he/she has an upgrade.
    AGGREGATE function
    Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel Web App Excel 2010 Excel for Mac 2011 Excel Starter 2010

    https://support.microsoft.com/en-us/...6-e19993fa26df

  11. #11
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: List top 5 items from a table

    Aggregate in 2010, I already said so in #8

  12. #12
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: List top 5 items from a table

    Helping you not forget this,

    I do mistakes too, feel free to alert me.

+ 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. [SOLVED] Distribute items evenly into table from a list
    By Robn02 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-02-2019, 05:58 PM
  3. [SOLVED] How to generate a list of duplicated items from a table
    By Banaticus in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-04-2017, 06:12 AM
  4. Replies: 1
    Last Post: 07-16-2015, 05:46 AM
  5. Replies: 1
    Last Post: 09-03-2012, 10:03 PM
  6. Replies: 1
    Last Post: 04-12-2010, 04:29 PM
  7. Pivot table.... list of visible items
    By ericlch16 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2007, 01:50 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