List top 5 without sorting

justme

Well-known Member
Joined
Aug 26, 2002
Messages
729
I know you can use the Max() function to find the greatest value in a range. Is there a function to find the next highest number, then the third highest and so on?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Here's a method that should work, if you don't mind a helper column:

If you data is in A1:A15, enter this formula in B1 and drag down:
=RANK(A1,$A$1:$A$15)+COUNTIF($A$1:A1,A1)-1

The previous formula will rank all values in the list while ensuring there are no ties.

You can then use a vlookup for 1,2,3... as you see fit.
 
Upvote 0
I know you can use the Max() function to find the greatest value in a range. Is there a function to find the next highest number, then the third highest and so on?

Entered in C2 and copied down...

=LARGE($A$2:$A$20,ROWS($C$2:C2))

would list the numbers is A2:A20 in descending order.
 
Upvote 0
Try using the LARGE function:

=LARGE(A:A,1)
=LARGE(A:A,2)
=LARGE(A:A,3)
=LARGE(A:A,4)
=LARGE(A:A,5)
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,756
Members
452,940
Latest member
rootytrip

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