Find the largest numbers in a list

Mangolili

Board Regular
Joined
Jun 21, 2011
Messages
54
Is it possible to use an array formula to find the largest 5 numbers in a list of values, and input those values to different cells?

Please let me know. Thank you.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If they are all unique, you could just sort largest to smallest and take the top 5 and be done with it, or you need a real function to do that and grab the to p 5?
 
Upvote 0
Thank you so much, it works. I wonder if the top 5 values can be match to the corresponding categories or names, using the match function?
 
Upvote 0
Probably.

Here is a formula where i am matching a placement in a grid and then finding the smallest unit.

=IF(COUNTIF(Controls!$I$4:$I$1515,"<"&Controls!$L$4+1)>ROWS(Controls!$F$4:F6)-1,INDEX(Controls!$E$4:$E$1515,MATCH(SMALL(OFFSET(Controls!$I$3,1,0,COUNTIF(Controls!$I$4:$I$1515,13),1),ROWS(Controls!$A$4:A6)),Controls!$I$4:$I$1515,0))+365,"")

If you can't figure out your example, i suggest posting a sample file so someone can help you. www.4shared.com
 
Upvote 0
Thank you so much. I think this =INDEX(C:C,MATCH(E29,AI:AI,0)) will do, right?
What is E29 refer to?


I also read your response in post #7, but I don't fully understand everything. I am not sure how to implement your formula into my sheet.
My range is B4:B33.
 
Upvote 0
Thank you so much. I think this =INDEX(C:C,MATCH(E29,AI:AI,0)) will do, right?
What is E29 refer to?


I also read your response in post #7, but I don't fully understand everything. I am not sure how to implement your formula into my sheet.
My range is B4:B33.

If B4:B33 house the scores, where are the performers/names? In A4:A33?
 
Upvote 0
Yes, the A column is the names and the values are in the B column. I played with your example in excel and I got it. Though I don't get everything, but I understand how it works and applied it to my own data.

Thank you so much for the link to your example.
 
Upvote 0
Yes, the A column is the names and the values are in the B column. I played with your example in excel and I got it. Though I don't get everything, but I understand how it works and applied it to my own data.

Thank you so much for the link to your example.

Great to hear that. Thanks for providing feedback.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,716
Members
452,939
Latest member
WCrawford

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