+ Reply to Thread
Results 1 to 4 of 4

Extrapolating a top ten

Hybrid View

  1. #1
    Registered User
    Join Date
    07-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Extrapolating a top ten

    Every month I use a worksheet that has the following information:

    Countries Amount
    argentina $5
    brazil 10
    chile 13
    china 54
    denmark 8
    Finland 23
    France 15
    India 23
    Indonesia 4
    Japan 3
    Russia 68
    south africe 39

    The list is actually a lot longer but is there a formula to allow me to extrapilate the top ten amounts without using a macro to sort and filter? I usually use MS Excel help for this but dont even know a keyword to put in here.
    Last edited by teylyn; 12-10-2009 at 07:23 PM. Reason: marked solved

  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: Extrapilating a top ten

    use =large(b1:b100,1)
    large(b1:b100,2) and so on
    but if you have some = amounts and want to retrieve country as well you'll have to unique rank them and extract with an index match
    Last edited by martindwilson; 07-29-2009 at 09:22 AM.
    "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

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Extrapilating a top ten

    Welcome to the Board.

    If for sake of example we assume your sample data in listed in A2:B13 (A1:B1 being headers) and you wish for top 10 values to be listed in D2:D11 then:

    D2: =LARGE($B$2:$B$13,ROWS(D$2:D2))
    copied down to D11

    If you want to retrieve associated country in say E2:E11, and to account for possibility of duplicity of values in B...

    E2: =INDEX($A$2:$A$13,MATCH(1,INDEX(($B$2:$B$13=$D2)*ISNA(MATCH($A$2:$A$13,E$1:E1,0)),0),0))
    copied down to E11
    Last edited by DonkeyOte; 07-29-2009 at 09:26 AM. Reason: incorrect cell ref. in narrative

  4. #4
    Registered User
    Join Date
    07-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Extrapilating a top ten

    I forgot to say this but thank you guys for answering my question! I would mark this one solved but i cant edit my original post i dont think!
    Last edited by burnst83; 12-10-2009 at 07:11 PM. Reason: cause i couldnt mark it solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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