Index() & match() function doesn't recognize duplicated values

428 Views Asked by At

Please check the below screenshot: The issue is that the Match() function does not recognize duplicated values. The H2 and J2 cells are not showing the desired result.

screenshot

1

There are 1 best solutions below

1
Solar Mike On BEST ANSWER

Well, not sure what you want exactly, but I use this to get the Top 5 and it deals with duplicates:

enter image description here

Formula in B1:

=LARGE(B$13:B$30,ROW())

Formula in A1:

=INDEX(A$13:A30,AGGREGATE(15,6,ROW($1:$30)/(B$13:B$30=B1),COUNTIF(B$1:B1,B1)))