+ Reply to Thread
Results 1 to 9 of 9

Advanced INDEX/MATCH Formula - is this possible?

  1. #1
    Registered User
    Join Date
    06-13-2015
    Location
    Columbus, Ohio
    MS-Off Ver
    2013
    Posts
    13

    Lightbulb Advanced INDEX/MATCH Formula - is this possible?

    I've been using Azumi's formula for almost a year now on a production report that I manage daily for my firm.
    This formula has helped me create a "Top Producer" functionality for my report.
    Things have gotten more complicated and now I'm wondering if there is a way to take this formula a step further.
    We have a lot more employees so I'm finding more and more instances where there are "ties" that occur.
    For example, two employees will end the week with a score of 34 and 34, creating a need for a tiebreaker.
    I want the tiebreaker to be volume of goods sold.

    Here are the two formulas in E2 and G2 that work together to display the employee with the most points. If there is a tie, it will list the employee highest up on the sheet.

    =IF(ROWS($A$1:A1)<=3,INDEX($A$8:$A$24,MATCH(LARGE(INDEX($B$8:$B$24+(ROWS($B$8:$B$24)-ROW($B$8:$B$24))/10^5,0),ROWS(A$1:A1)),INDEX($B$8:$B$24+(ROWS($B$8:$B$24)-ROW($B$8:$B$24))/10^5,0),0)),"")

    =LARGE(B6:B15,1)


    Attachment 457767


    Is there a way to further advance this formula so that first, it arranges the top producers based upon Score, and then by Volume?
    So in the case shown here, it would display Brian, then Ryan, and finally Joseph?
    Please see the attached file for reference.

    If you need me to go further in detail, please let me know.
    I really appreciate the help! This would be a huge improvement for my report.

    Thanks!
    Attached Files Attached Files

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

    Re: Advanced INDEX/MATCH Formula - is this possible?

    If your data is actually as given in the example, as opposed to the way it was presented in the thread last June, then using a custom sort with the first key being 'Score' from largest to smallest, the second key being 'Volume' from largest to smallest will put the names in the order you desire w/o having to adjust the formulas.
    Let me 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.

  3. #3
    Registered User
    Join Date
    06-13-2015
    Location
    Columbus, Ohio
    MS-Off Ver
    2013
    Posts
    13

    Re: Advanced INDEX/MATCH Formula - is this possible?

    The reason for me using the formula is so that I don't have to sort at all.
    And the actual report that I use is much more complicated than the example I've provided so there are actually multiple leaderboards with multiple criteria, so sorting them isn't even an option.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Advanced INDEX/MATCH Formula - is this possible?

    Using helper column H

    in H7

    =B7+G7/100000

    Copy down

    In G2

    =LARGE($H$7:$H$15,ROWS($1:1))

    Copy down

    In E2

    =ROWS($1:1) & ") " &INDEX($A$7:$A$15,MATCH(LARGE($H$7:$H$15,ROWS($1:1)),$H$7:$H$15,0))

    Copy down

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

    Re: Advanced INDEX/MATCH Formula - is this possible?

    This solution also uses helper columns, which may be hidden for aesthetic purposes. I present this applied to the file that was attached to the original posts in June of 15 as that seems closer to the described layout of post #3. The first helper column ranks based on score:
    Please Login or Register  to view this content.
    The second helper column adds the volume IF there is a tie among the top three:
    Please Login or Register  to view this content.
    The third helper column then ranks based on the second helper column:
    Please Login or Register  to view this content.
    The names are placed in C2:C4 with the formula:
    Please Login or Register  to view this content.
    The scores are still placed in F2:F4 with the formula from last June.
    Let me know if you have any questions.
    Attached Files Attached Files

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Advanced INDEX/MATCH Formula - is this possible?

    Or use a CSE array formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy down

  7. #7
    Registered User
    Join Date
    06-13-2015
    Location
    Columbus, Ohio
    MS-Off Ver
    2013
    Posts
    13

    Re: Advanced INDEX/MATCH Formula - is this possible?

    Smart idea, this works great!
    Thanks a lot John!

    Also thanks Jete and José for the additional solutions

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

    Re: Advanced INDEX/MATCH Formula - is this possible?

    Glad that you got a solution that works and thank you for the feedback. Please take a moment to mark the thread 'Solved' using the thread tools link above your first post in the thread. I hope that you have a good day.

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Advanced INDEX/MATCH Formula - is this possible?

    Another way array entered.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Not sure how it will work with live data.
    Dave

+ 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. Advanced If or Match(index) vba... not really sure.
    By TexasBobcat in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-04-2015, 03:09 PM
  2. Replies: 3
    Last Post: 01-16-2015, 03:59 PM
  3. Using "Index & match" Formula but in an advanced way can anyone help please???
    By knight_craig in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2014, 04:39 AM
  4. [SOLVED] Advanced Match Help (possibly Index Match)
    By dfxryanjr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-08-2013, 09:13 AM
  5. Replies: 7
    Last Post: 08-10-2010, 04:05 PM
  6. advanced lookup/index-match problem
    By tx12345 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2006, 12:40 PM
  7. advanced lookup/index-match problem
    By tx12345 in forum Excel General
    Replies: 1
    Last Post: 08-10-2006, 11:50 PM

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