Hello guys Hope you have a nice day!
I need to rank projects in descending order based on:
1. Their scores
2. If their scores are a tie, compare their YTD scores - the higher score the better rank
3. If their YTD scores are also a tie, just randomly assign their ranks
*I want the ranks to be shown as Rank/Total (Ex: 16/30)
I'm stucking at step 3. Now they have the same rank if their scores and YTD scores are tie.
For step 1&2, I use the formula: =RANK([@Score],[Score],0)+SUMPRODUCT(--([Score]=D4),--([YTD]>C4))&"/30"
Please refer to the sample as below.
Thanks so much for your help!
I need to rank projects in descending order based on:
1. Their scores
2. If their scores are a tie, compare their YTD scores - the higher score the better rank
3. If their YTD scores are also a tie, just randomly assign their ranks
*I want the ranks to be shown as Rank/Total (Ex: 16/30)
I'm stucking at step 3. Now they have the same rank if their scores and YTD scores are tie.
For step 1&2, I use the formula: =RANK([@Score],[Score],0)+SUMPRODUCT(--([Score]=D4),--([YTD]>C4))&"/30"
Please refer to the sample as below.
Thanks so much for your help!
Sample.xlsx | ||||||
---|---|---|---|---|---|---|
B | C | D | E | |||
3 | Project | YTD | Score | Rank | ||
4 | CV | 85.1 | 87 | 8/30 | ||
5 | Green | 86.3 | 84 | 14/30 | ||
6 | Happy | 80.9 | 80 | 20/30 | ||
7 | Happy Premier | 86.6 | 87 | 7/30 | ||
8 | HP | 83.4 | 83 | 16/30 | ||
9 | HP Premier | 88.8 | 86 | 9/30 | ||
10 | MD | 89.5 | 92 | 2/30 | ||
11 | NK | 77.6 | 73 | 30/30 | ||
12 | NP | 82.8 | 79 | 22/30 | ||
13 | PV | 77.0 | 78 | 26/30 | ||
14 | H24 | 87.1 | 87 | 6/30 | ||
15 | P5 | 78.6 | 82 | 17/30 | ||
16 | SSR | 83.0 | 76 | 28/30 | ||
17 | MD3 | 77.0 | 78 | 26/30 | ||
18 | MD4 | 80.9 | 80 | 20/30 | ||
19 | R1-2 | 80.9 | 85 | 13/30 | ||
20 | R3 | 77.9 | 78 | 25/30 | ||
21 | Cross | 74.5 | 79 | 24/30 | ||
22 | Star | 85.1 | 84 | 15/30 | ||
23 | S43 | 86.2 | 86 | 10/30 | ||
24 | M5 | 86.0 | 86 | 11/30 | ||
25 | M7 | 90.5 | 91 | 3/30 | ||
26 | M6 | 90.6 | 93 | 1/30 | ||
27 | H63 | 84.1 | 86 | 12/30 | ||
28 | Amelie | 88.6 | 91 | 4/30 | ||
29 | Chateau | 83.4 | 90 | 5/30 | ||
30 | H22 | 83.6 | 81 | 18/30 | ||
31 | HCN | 78.0 | 76 | 29/30 | ||
32 | R | 77.0 | 79 | 23/30 | ||
33 | S | 79.8 | 81 | 19/30 | ||
Ranking (2) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E4:E33 | E4 | =RANK([@Score],[Score],0)+SUMPRODUCT(--([Score]=D4),--([YTD]>C4))&"/30" |