I have a query that lists "SumOfLngPracticeScore" and "CountOfLngCompetitorNo" which gives me a list of scores (in descending order) and the number of competitors that have achieved that score.
I need to allocate points to each score based on the number of competitors achieving it. e.g If the highest score is 150 the points allocated are 100. Each competitor scoring 150 receives 100 points. If the next highest score is 149 then the points allocated are 99 and so on down the list.
However, the problem does not stop there. If two competitors are awarded 100 points for equal highest score, the points allocated for the next highest score would be 98, not 99. Similarly if three competitors are awarded 98 points for the second highest score, the points for the third highest score would start at 95 and so on.
Any advice would be much appreciated
Best Regards
John Draper
I need to allocate points to each score based on the number of competitors achieving it. e.g If the highest score is 150 the points allocated are 100. Each competitor scoring 150 receives 100 points. If the next highest score is 149 then the points allocated are 99 and so on down the list.
However, the problem does not stop there. If two competitors are awarded 100 points for equal highest score, the points allocated for the next highest score would be 98, not 99. Similarly if three competitors are awarded 98 points for the second highest score, the points for the third highest score would start at 95 and so on.
Any advice would be much appreciated
Best Regards
John Draper