Double Max Value

thakali

New Member
Joined
May 5, 2018
Messages
3
Hello guys

Column A has the marks obtained by the students whilst column B has the name of the students.
Two student have scored the same highest mark.
Now I want to know how can i find the name of the two students who have scored the same highest marks.
When I use "=VLOOKUP(MAX(A1:B10),A1:B10,2,0)", it only shows one student name but not the other. Can someone please help me with this.

Thank you in advance.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
In C1 just enter:

=MAX(A1:A10)

In C2 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($B$1:$B$10,SMALL(IF($A$1:$A$10=$C$1,ROW($B$1:$B$10)-ROW($B$1)+1),ROWS($C$2:C2))),"")
 
Upvote 0
ARRAY formula in ROW 1 then drag down
ARRAY formula should be confirmed with Ctrl+Shift+Enter
Code:
=IFERROR(INDEX($B$1:$B$10,SMALL(IF(($A$1:$A$10)-(ROW($A$1:$A$10)*10^-6)=LARGE(($A$1:$A$10)-(ROW($A$1:$A$10)*10^-6),ROWS($A$1:$A1)),ROW($A$1:$A$10),""),1)-ROW($A$1)+1),"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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