tags:

views:

305

answers:

3

Hi, I run a small golf eclectic with excel. One of the things we have is a points system. I would like to get the 5 highest points scored over the season and have them ranked from 1 (being the highest points scored) to 5.

My knowledge of excel "sums" goes only a wee bit further than add and subtract.

Thanks!

+1  A: 

If you have a column containing the scores, you could add a filter (Data->Filter I think) and sort descending.

Though, if you just have rows that are something like [Date][Person][Score] you'll need to go to another sheet and SUM the scores for each person then sort that... Unfortunately my Excel skills aren't up to par to pull a score for each person like that.

Patrick Lucas
if in rows, pivot the table first. +1
kenny
+1  A: 

Given a list of numbers in A1 to A10, you can work out their 'Rank' relative to each other by using 'RANK'.

e.g.

RANK(A1,A1:A6,0)

RANK(cell, list of cells to check against, order)

For order, 0 = descending.

From there you can work out which one is first pragmatically.

glasnt
When you say "RANK(cell, list of cells to check against, order)"What does the cell refer to? The cell where i want the data to go?I have total points in column AB, the data is from cell AB6 to AB30. I want the top 5 scores to be displayed in cells AB7 to AB11.Thanks for any help!
Cell refers to the actual cell in your list you want to rank. So if you want to find the rank of A1 in your list of A1:A20, you go RANK(A1,A1:A20,0). Then, you can duplicate this for A2 to A20, and you get your ranks. Then, you can sort the rankings how you wish, like finding the cell in Column B (the column of RANKS) that contains 1, then using that row in Column A as your answer. I haven't fully worked this out in Excel, but I guess you can do the above and make ranking work programatically, as opposed to AutoFilter.
glasnt
Thanks again for replying. I understand the rank command now. i dont think it is what i am after, not sure excel can even do it! Of the 26 rows with the scores i them, i almost want to filter out the top 5. So that they are displayed elsewhere on the worksheet!.Appreciate any comments!
A: 

If you have Excel 2007,

Check that your data is continuous, with no blank rows or columns. Click on your scores and then select 'Data - Filter'

Using the dropdown that the filter creates at the top of your scores column and select 'Number filters - Top ten'

A 'Top ten Autofilter' dialog will be displayed, reduce the show 10 to 5 and then click on OK.


For earlier versions of Excel add a RANK formula in a new column. Be careful as the scores need to be sorted, usually into descending order. If there are any ties, they will be given the same ranking number and the subsequent rank number will be incremented by the number of ties. (E.g. If there are two scores of 2, ranked as 5. The next score will be ranked as 7, not 6)

Robert Mearns