+ Reply to Thread
Results 1 to 9 of 9

Formula to figure out Top 10 names

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Formula to figure out Top 10 names

    Hi-

    I am trying to write a formula that will give me the top 10 names as a percentage of my overall portfolio. The % are in column C, and they can change daily.

    Thankstest.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Formula to figure out Top 10 names

    I assume you don't want "Cash" to be included in the list, so put this formula in D3:

    =RANK(C3,C$3:C$28)+COUNTIF(C$3:C3,C3)-1

    and copy down to D28. Then put this formula in, say, F2:

    =INDEX(A:A,MATCH(ROWS($1:1),D:D,0))

    and copy down to F11.

    Hope this helps.

    Pete

  3. #3
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to figure out Top 10 names

    Would this work fir you??
    =INDEX($A$3:$A$28,MATCH(LARGE($C$3:$C$28,ROW(A1)),$C$3:$C$28,0))
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  4. #4
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Formula to figure out Top 10 names

    Rob-

    What does the row() do? It's not $, so if I copy down, I don't understand the significance of it?

  5. #5
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Formula to figure out Top 10 names

    Hi
    For names
    =INDEX($A$2:$A$28,MATCH(LARGE($B$2:$B$28,ROW()-1),$B$2:$B$28,0)) Ctrl+Shift+Enter
    For numbers you can use vlookup
    Appreciate the help? CLICK *

  6. #6
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to figure out Top 10 names

    You do not need $.
    A1 stands for 1.Dragging down you have A2 for 2.....

  7. #7
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Formula to figure out Top 10 names

    Have you tried a pivot table?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to figure out Top 10 names

    Using ROWS is more robust.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  9. #9
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to figure out Top 10 names

    @Tony
    You are right:
    =INDEX($A$4:$A$29,MATCH(LARGE($C$4:$C$29,ROWS($A$22:A2)),$C$4:$C$29,0))

    (to mention this will fail on duplicates)

    @AZ_XL
    There is not no need for CSE

+ 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: 4
    Last Post: 02-03-2014, 08:05 AM
  2. Sum formula to exclude monthly budget figure when actual figure is entered
    By rocketmail in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-02-2013, 04:22 AM
  3. Replies: 1
    Last Post: 05-14-2012, 10:14 AM
  4. Cross Reference to a Figure actually showing figure, not just caption
    By mgaworecki in forum Word Formatting & General
    Replies: 2
    Last Post: 02-23-2012, 10:53 AM
  5. Calculating monthly sales figure required to make annual turnover figure
    By CatIsoSio Sky in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2010, 04:42 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