+ Reply to Thread
Results 1 to 4 of 4

How to return a value ranked X out of Y from an array

  1. #1
    Registered User
    Join Date
    05-31-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    3

    How to return a value ranked X out of Y from an array

    Hello,

    I have a column of data that looks like this:

    _|A_
    1|57.1%
    2|76.8%
    3|33.6%
    4|11.8%
    5|40.4%
    6|21.1%
    7|48.2%
    8|56.4%
    ~
    50|27.2%

    I have a formula where I need to pull the value that is a certain rank, in descending order, for a calculation. For example, I need to know what the 15th largest number in the distribution is. Is there a way to retrieve this number without an additional column showing rank values? Thanks!

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: How to return a value ranked X out of Y from an array

    Hello
    Try the following formula.

    =INDEX($A$1:$A$50,MATCH(LARGE($A$1:$A$50,15),$A$1:$A$50,0))

    Hope this helps.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: How to return a value ranked X out of Y from an array

    Perhaps just

    =LARGE($A$1:$A$50,15)
    Audere est facere

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Red face Re: How to return a value ranked X out of Y from an array

    Thanks daddylonglegs. So obvious! Don't know why I put Index in there. Red face!

    Regards DBY

+ 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