+ Reply to Thread
Results 1 to 11 of 11

Return a reference from LARGE function

  1. #1
    Registered User
    Join Date
    06-24-2008
    Posts
    3

    Return a reference from LARGE function

    So I want to know how I can find where the result of the LARGE function was found. I've got an array of scores with names in each row, 3 scores per name. I've attached an example of what I'm trying to do. I get the highest 3scores with the LARGE function, I just want to be able to pull the name which corresponds to each. I noticed that the MATCH function will return the column or row number, but only for a 1-row or 1-column array. If I could find the row number of the result of the LARGE function, I'm sure I could get it from there. Any help would be appreciated.
    Marcus
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    Please Login or Register  to view this content.
    which must be confirmed with CTRL+SHIFT+ENTER not just ENTER.. You will see { } brackets appear around the formula.

    Then copied down.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-24-2008
    Posts
    3
    Wow. Thanks a bunch. I'm currently trying real hard to understand it completely so I can implement it perfectly in my spreadsheet. I think I get the idea for the most part. Thanks again.

  4. #4
    Registered User
    Join Date
    06-24-2008
    Posts
    3

    Same issue, now across sheets

    So now i've got a summary page which lists the top three games from the whole season. Same issue of trying to determine who each game belongs to.
    I think it might be easier to refer to the high games in each weekly sheet, but I'm not sure. I've attached another example.

    Thanks
    Attached Files Attached Files

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I think it would be easiest to just list the top 3 from each Week somewhere in the Summary sheet... then you can extract the top 3 of all those along with the names using previous formulas...

  6. #6
    Forum Contributor
    Join Date
    03-14-2017
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    107

    Re: Return a reference from LARGE function

    Is there an easier way to get cell reference or row/col number?

    LARGE(A1:A4,1) > result A4 or row-4
    LARGE(A1:A4,2) > result A2 or row-2
    LARGE(A1:A4,3) > result A3 or row-3

    A
    2
    4
    4
    5

    MATCH function not working properly with two or more same number (example 4)

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Return a reference from LARGE function

    Hi mtcas and Welcome to Excel Forum,
    Please open a new thread, include a link to this one if it has relevance to the question you are asking.
    It will also help us to help you, if you will include a sample spreadsheet demonstrating what you are trying to accomplish.
    To attach a sample spreadsheet click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Return a reference from LARGE function

    For the first match
    =MATCH(LARGE(A1:A4,1),A1:A4,0)
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  9. #9
    Forum Contributor
    Join Date
    03-14-2017
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    107

    Re: Return a reference from LARGE function

    JeteMc thanks for welcome I think that my problem is the same as marcusmpe but simplest.

    xlnitwit as I wrote above, MATCH function not working in this case. At second and third value - always return 2.

    I need reference to row, when large function found nth top value. xlnitwit is a good idea but not perfect

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Return a reference from LARGE function

    mtcas welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  11. #11
    Forum Contributor
    Join Date
    03-14-2017
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    107

    Re: Return a reference from LARGE function

    Ok, thanks and sorry

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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