Tie-Breaking Question (Using Index/Match/Large)

FiggyDad

New Member
Joined
Jan 30, 2024
Messages
4
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
I am trying to rank the top 5 incident categories for calls to our help desk for each school in our district. I've trying to figure out how to list the other incident categories when a school has a tie. For example, on line 4, School B has Call Issue listed for #1, #2 and #3 because there was a three-way tie for 15 incidents each. It should have listed Call Issue, Chromebook-Broken and Information Provided.

The formulas I am currently using are as follows:

Cell B4: =INDEX($M$1:$GF$1,MATCH(LARGE(M4:GF4,1),M4:GF4,0))
Cell C4: =INDEX(M4:GF4,MATCH(LARGE(M4:GF4,1),M4:GF4,0))
Cell D4: =INDEX($M$1:$GF$1,MATCH(LARGE(M4:GF4,2),M4:GF4,0))
Cell E4: =INDEX(M4:GF4,MATCH(LARGE(M4:GF4,2),M4:GF4,0))

Etc... There are 172 different categories (which in the example begin on column M) currently so the spreadsheet goes on and on.

Thank you and I hope I can get this resolved as I'm bashing my head against the wall to figure this one out.
 

Attachments

  • Capture.JPG
    Capture.JPG
    67.7 KB · Views: 38

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
How about for B4
Excel Formula:
=INDEX(SORTBY($M$1:$GF$1,M4:GF4,-1),,1)
and just change the final 1 to 2 for col D etc.
And then for C4
Excel Formula:
=INDEX(SORT(M4:GF4,,-1,1),,1)
 
Upvote 0
That is exactly what I was looking for, so simple too! Thank you for your expertise, that was fantastic.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top