Spreadsheet Guru he...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Spreadsheet Guru help needed

6 Posts
6 Users
0 Reactions
66 Views
Posts: 0
Free Member
Topic starter
 

Fellas..... ( and ladies ) ....

I help run a championship where riders score points at various rounds over the years but only the best X number count.

So for example there may be 30 races over a year, with the best 20 being what the championship is calculated on.

do we have any spreadsheet guru types who could work out a formula that could be used to automatically calculate a total from the highest 20 scores ( and disregard the rest ) .... I have an example spreadsheet which I can email to anyone who could help? )

Its currently being done manually which is very time consuming!

Please pm if you are able to help and I can email you an example of what I need to try and work out the formula for!


 
Posted : 06/01/2014 2:31 pm
Posts: 0
Free Member
 

I could take a look, email me over a copy of the spreadsheet martin.somerfield (at) gmail (dot) com


 
Posted : 06/01/2014 2:39 pm
Posts: 0
Free Member
 

=SUM(LARGE(A1:Z1,ROW(INDIRECT(("1:20")))))

Replace A1:Z1 with the range containing the 30 races.

Note this is an array formula so once entered you will need to save it by using Ctrl-Shift and Enter


 
Posted : 06/01/2014 2:42 pm
Posts: 0
Free Member
 

A quick way would be to have a second row/colum for each competitor and then use something like...

=IF(RANK("score cell","range of cells with all scores")<=20,"score cell",0)

This will return the score for the round if the cell in the highest 20 scores and 0 if its not. Then sum this row/column to get the total score for these 20 rounds.


 
Posted : 06/01/2014 2:44 pm
Posts: 7033
Free Member
 

EDIT: too slow, mossimus is there already, although I'd do it with a new column (or row), just so you can see the top 20 results before the somethingion.


 
Posted : 06/01/2014 2:48 pm
Posts: 4170
Free Member
 

Or, same effect as [b]mossimus[/b] but easier to understand:
assuming your data is in columns A to AY, from row 2 down, put the following in AZ2 (with the middle bit filled in!) and drag it down the table. Look up LARGE if in doubt.

=LARGE(A2:AY2,1)+LARGE(A2:AY3,2)+LARGE(A2:AY3,3)+...+LARGE(A2:AY3,20)


 
Posted : 06/01/2014 2:51 pm
Posts: 0
Free Member
Topic starter
 

Thanks fellas.... i accidentally left my laptop at the office so can't have a play ... but will do so tomorrow....... fingers crossed STWexcel gurus will rescue me! 🙂


 
Posted : 06/01/2014 9:29 pm

6 DAYS LEFT
We are currently at 95% of our target!