Using Index/Match to return cell value - Need to identify duplicate values

ricdik

New Member
Joined
Feb 25, 2009
Messages
10
[h=2][/h]
I've searched and found some things that are similar, but not exactly what I want (i.e. Index/Match). I want to look up the 1st largest value and return what is in column A. I'm then repeating for the 2nd, 3rd, etc.

Here is the formula I have, but the output for the largest and 2nd largest are the same. I need the formula to be able to identify each uniquely.

=INDEX(A$1:A$14,MATCH(LARGE(B$1:B$14,ROWS($1:1)),B$1:B$14,0))


[TABLE="class: cms_table, width: 268"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]word 1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 2[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 3[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]word 4[/TD]
[TD="align: right"]46[/TD]
[/TR]
[TR]
[TD]word 5[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 6[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 7[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 8[/TD]
[TD="align: right"]46[/TD]
[/TR]
[TR]
[TD]word 9[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 10[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 11[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 12[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 13[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]word 14[/TD]
[TD="align: right"]18[/TD]
[/TR]
</tbody>[/TABLE]


Largest word 4
2nd Largest word 8
3rd Largest word 14​
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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