I have a problem that I can't work out how to resolve despite looking through several threads on several forums.
The program I am developing better suits Access, but the client requires it to be in Excel as that is what they are used to.
The program will generate leaderboards for several competitions, one of which requires points to be assigned based on the position in each event.
As an example, an event with 8 players would assign 8 points for 1st, 7 for 2nd down to 1 for 8th.
In the event of a tie, the players would receive an average of the points for the positions (i.e. for tied 2nd in a 8 player event, each player would get (7+6)/2 = 6.5 points).
What I want to do is calculate these 'Event Points' when I read the data in (the scores are all generated by an external app), so ideally I need to calculate them in code using an array of all the scores, but I am happy to throw it on a sheet if necessary.
The program reads in date, score and player which can be used for comparison.
I can deal with 2 ties easily, but not 3 or more (which is possible if unlikely)
Can anyone suggest how to achieve this please?
The program I am developing better suits Access, but the client requires it to be in Excel as that is what they are used to.
The program will generate leaderboards for several competitions, one of which requires points to be assigned based on the position in each event.
As an example, an event with 8 players would assign 8 points for 1st, 7 for 2nd down to 1 for 8th.
In the event of a tie, the players would receive an average of the points for the positions (i.e. for tied 2nd in a 8 player event, each player would get (7+6)/2 = 6.5 points).
What I want to do is calculate these 'Event Points' when I read the data in (the scores are all generated by an external app), so ideally I need to calculate them in code using an array of all the scores, but I am happy to throw it on a sheet if necessary.
The program reads in date, score and player which can be used for comparison.
I can deal with 2 ties easily, but not 3 or more (which is possible if unlikely)
Can anyone suggest how to achieve this please?