Index Match Large function questions for duplicate values

Killswitch69

New Member
Joined
Dec 1, 2014
Messages
6
I am trying to use the index, match and large functions. I am running into issue with duplicate values. I have columns that can be used as tie breakers but I just don't know how to figure it our.

Here is my formula : =INDEX($T$5:$T$20,MATCH(LARGE(T5:T20,1),T5:T20,0))

Now if column U is higher then it breaks the tie if that is tied then higher value in column R.

Is this possible?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Thank you for the quick response. Sorry, I should have explained better. if t5 = 268 and t6 = 268 then the tie breaker should be U5 and U6, so the highest value in U. I will make a sample spread sheet and attach if I can do that.
 
Upvote 0
I can't attach a file so here is a sample and expected result.

Person A , 20, 1 , 10 , 2 , 30 , 3
Person B , 19, 2 , 10 , 2 , 29 , 4
Person C , 19, 2 , 11 , 4 , 30 , 6

result:

Person C , 30 , 6
Person A , 30 , 3
Person B , 29 , 4

If F1, F3 tie G1, G3 break tie if still tie then E1 and E3 break tie. All ties break by highest value in the cell matched.
 
Last edited:
Upvote 0
For that scenario:


Excel 2010
ABCDEFGHIJK
1Person A201102303Person C306
2Person B192102294Person A303
3Person C192114306Person B294
Sheet1
Cell Formulas
RangeFormula
I1=INDEX(A$1:A$3,MATCH(LARGE(INDEX(F$1:F$3+(G$1:G$3/10),),ROWS(I$1:I1)),INDEX(F$1:F$3+(G$1:G$3/10),),0))
J1=INDEX(F$1:F$3,MATCH(LARGE(INDEX(F$1:F$3+(G$1:G$3/10),),ROWS(I$1:I1)),INDEX(F$1:F$3+(G$1:G$3/10),),0))
K1=INDEX(G$1:G$3,MATCH(LARGE(INDEX(F$1:F$3+(G$1:G$3/10),),ROWS(I$1:I1)),INDEX(F$1:F$3+(G$1:G$3/10),),0))
 
Upvote 0
wow, that is impressive. Thank you so much.
one question as I am deciphering your formula.
How do you change it to put the formulas in the cells like below?

Worksheet Formulas
CellFormula
A22
=INDEX(A$1:A$3,MATCH(LARGE(INDEX(F$1:F$3+(G$1:G$3/10),),ROWS(I$1:I1)),INDEX(F$1:F$3+(G$1:G$3/10),),0))
I22
=INDEX(F$1:F$3,MATCH(LARGE(INDEX(F$1:F$3+(G$1:G$3/10),),ROWS(I$1:I1)),INDEX(F$1:F$3+(G$1:G$3/10),),0))
J22
=INDEX(G$1:G$3,MATCH(LARGE(INDEX(F$1:F$3+(G$1:G$3/10),),ROWS(I$1:I1)),INDEX(F$1:F$3+(G$1:G$3/10),),0))

<thead>
</thead><tbody>
</tbody>
 
Upvote 0
Actually I figured out how to change the output cell, but still have a question.

If I changed the index ranges from rows 5 through 20 and any of the rows are emtpy it will not work. Is there a work around for ignoring empty cells?
 
Upvote 0
How can I show you my spreadsheet on this forum if I am not allowed to post an attachment? I think it would be easier than trying to explain. I think it may have something to do with this argument ROWS(I$1:I1) but I'm not sure. below is the formula I have now. It work just fine except if there is missing data. columns ABC are merged for names, DEFGH are data and calculated into I and J. all from rows 5 through 20. Index formula are to sort and copy data in order from highest with the tie breaker you have figured out into the top four scores into Rows 22,23,24 and 25 and columns ABC merged, I and J. Hope this makes sense.

Cell ABC-22(merged) =INDEX(I$5:I$20,MATCH(LARGE(INDEX(I$5:I$20+(J$5:J$20/10),),ROWS(I$5:I5)),INDEX(I$5:I$20+(J$5:J$20/10),),0))
Cell I22 =INDEX(I$5:I$20,MATCH(LARGE(INDEX(I$5:I$20+(J$5:J$20/10),),ROWS(I$5:I5)),INDEX(I$5:I$20+(J$5:J$20/10),),0))
Cell J22 =INDEX(J$5:J$20,MATCH(LARGE(INDEX(I$5:I$20+(J$5:J$20/10),),ROWS(I$5:I5)),INDEX(I$5:I$20+(J$5:J$20/10),),0))

Then 3 more on rows 23,24,25 for the top 4 scores.

The work around that I found is to fill in junk data is all the cells. Without all rows filled in between 5 and 20 the formula returns #VALUE!

And thanks so much for your interest, I would have never gotten this far without your help.
 
Upvote 0
Do you want to put your workbook on a share like Box.com and post the URL? Blank cells in the range shouldn't make a difference, but formula blanks will because you can't divide null by 10.
 
Upvote 0

Forum statistics

Threads
1,216,487
Messages
6,130,944
Members
449,608
Latest member
jacobmudombe

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