Excel – extracting top 5 values

This is what I use to track the top 5 absentees…
Edit to suit your needs.

enter image description here

Formula in cell A1:

=INDEX(A$13:A52,AGGREGATE(15,6,ROW($1:$40)/(B$13:B$52=B1),COUNTIF(B$1:B1,B1)))

Formula in cell B1:
LARGE(B$13:B$52,ROW())

Leave a Comment