+ Reply to Thread
Results 1 to 2 of 2

Find Top x Values and respective row/column titles

  1. #1
    Registered User
    Join Date
    10-09-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    48

    Find Top x Values and respective row/column titles

    hi folks,

    I have an excel sheet I am working on and can't for the life of me solve this one.

    I have a range of data in cells G15:J35.

    1. I want to find the top ten (for example) values in column J (stored as percentage) and return the value in column G.
    2. Then I also want to bring back the value from those same top ten.

    I have tried using the following formula, but it does not seem to bring back the correct values. (londonerrors is the name for the data in column J)

    =INDEX($G$17:$G$35,MATCH(LARGE(londonerrors,ROW(1:1)),londonerrors,0)) for point 1
    =INDEX($G$17:$J$35,MATCH(LARGE(londonerrors,ROW(1:1)),londonerrors,0),4) for point 2

    It seems to find the first instance of 100%, even when changing the ROW(1:1) part to ROW(2:2) and so on. Is it being affected by the fact there are multiple with 100%?

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Find Top x Values and respective row/column titles

    "Is it being affected by the fact there are multiple with 100%?"

    Yes - to extract values from a list using that formula, you need to have unique values as your index. The way that I approach that is to create a column of formulas that 'break ties' but will not affect the order, along the lines of

    =J17 - ROW()/100000000

    Then use those cells with the MATCH /LARGE function. The order will be such that the tied values on lower row numbers (higher in the table) will be returned first.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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: 0
    Last Post: 08-02-2017, 10:38 AM
  2. [SOLVED] Removing duplicates from column A while keeping their respective values from column B
    By joel.mugabe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-19-2016, 02:38 AM
  3. Find the Start and End Value in Column in the respective Fields
    By Ganesankadarkarai in forum Excel General
    Replies: 4
    Last Post: 10-28-2013, 05:55 AM
  4. find repeating numbers in a column and sum the respective value assigned
    By gmkumaran in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-06-2013, 10:48 AM
  5. Replies: 5
    Last Post: 09-02-2011, 09:17 AM
  6. Replies: 1
    Last Post: 01-15-2010, 05:29 AM
  7. Replies: 4
    Last Post: 03-22-2006, 10:50 AM

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