Help with ranking

centurions

New Member
Joined
Aug 12, 2017
Messages
3
Hi I am having troubles trying to get a ranking formula to work for more than 1 student easily. I have managed to get it to work for 1 student fine but then looking for a way to copy the formula easily to the students underneath such as in the picture. Any help would be appreciated.

For example;

John Smith 87 2
98 1
23 3
12 4

The formula I used for John was =RANK.EQ(C3,$C$3:$C$8,0)

Jill Jones 91
23
21
78

Is there an easy to transfer the formula down to Jill and a large number of students underneath her if I have a large list of students. I have used the rank formula to do John Smith but can't find an easy way to move it to subsequent students.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
can you repeat post using .... between so we know which column is which
eg
john smith................87.....................2
...............................98.....................1
 
Upvote 0
No worries.

John Smith....course A.....87......1
John Smith....course B.....65......2
John Smith....course C.....54......3
John Smith....course D.....21......5
John Smith....course E.....32......4

Jill Jones....course A.....92......1
Jill Jones....course B.....23......5
Jill Jones....course C.....65......3
Jill Jones....course D.....74......2
Jill Jones....course E.....43......4

this would continue for around 900 students and need to rank their scores across their own classes. Hope this makes more sense.
 
Upvote 0
col Bcol G
john smith872######198@@@@@row 6
981287
233323
124412row 9
jill jones344177
433276
771343
762434
I sorted the formulas for the first table
and copied the helper columns down
then the formulas from c6:c9
into c11:c14
copying b6 to G9 into b11 to g14 is easy
######
=OFFSET(G5,MATCH(B6,G6:G9,0),-1)
@@@@@
=LARGE(B6:B9,1)
the last 1 could be replaced by F6
the jill jones rankings were calculated
by the copied down formula

<colgroup><col width="64" span="12" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Put this formula in D1 =rank.eq(c1,indirect("c"&int(row()/6)*6+1&":c"&int(row()/6)*6+5))
Copy to 4 rows below
Copy all 5 rows for next student
 
Last edited:
Upvote 0
Maybe something like this


A
B
C
D
1
Student​
Course​
Score​
Rank​
2
John Smith​
course A​
87​
1​
3
John Smith​
course B​
65​
2​
4
John Smith​
course C​
54​
3​
5
John Smith​
course D​
21​
5​
6
John Smith​
course E​
32​
4​
7
8
Jill Jones​
course A​
92​
1​
9
Jill Jones​
course B​
23​
5​
10
Jill Jones​
course C​
65​
3​
11
Jill Jones​
course D​
74​
2​
12
Jill Jones​
course E​
43​
4​

Formula in D2 copied down
=IF(A2="","",COUNTIFS(A:A,A2,C:C,">"&C2)+1)

Hope this helps

M.
 
Upvote 0
To simplify copying
Put in D1 and copy down
=if(c1="","",rank.eq(c1,indirect("c"&int(row()/6)*6+1&":c"&int(row()/6)*6+5)))
 
Upvote 0
Maybe something like this


A
B
C
D
1
Student​
Course​
Score​
Rank​
2
John Smith​
course A​
87​
1​
3
John Smith​
course B​
65​
2​
4
John Smith​
course C​
54​
3​
5
John Smith​
course D​
21​
5​
6
John Smith​
course E​
32​
4​
7
8
Jill Jones​
course A​
92​
1​
9
Jill Jones​
course B​
23​
5​
10
Jill Jones​
course C​
65​
3​
11
Jill Jones​
course D​
74​
2​
12
Jill Jones​
course E​
43​
4​

<tbody>
</tbody>


Formula in D2 copied down
=IF(A2="","",COUNTIFS(A:A,A2,C:C,">"&C2)+1)

Hope this helps

M.

Thanks, that worked perfectly..
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,148
Members
448,552
Latest member
WORKINGWITHNOLEADER

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top