Ranking by group

burgie10

New Member
Joined
Feb 20, 2015
Messages
3
Hi there,

I wondered if you could help.

In columns N-P I'm trying to rank the average P1-P5 score by category. e.g. I would like the scores in column L to be ranked for all the names in column N.
In column O, I would only like to rank scores in column L according to their "MD" (Column D), and similar for "RD" in Column P.

I hope this makes sense... sorry if confusing... and thank you!
3.JPG
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi there,

I wondered if you could help.

In columns N-P I'm trying to rank the average P1-P5 score by category. e.g. I would like the scores in column L to be ranked for all the names in column N.
In column O, I would only like to rank scores in column L according to their "MD" (Column D), and similar for "RD" in Column P.

I hope this makes sense... sorry if confusing... and thank you!View attachment 70579
The image you have shared does not show Column (L, M N, O, P etc.) thus makes bit difficult to relate to what you want to do. Please share a better picture with column headers.
 
Upvote 0
But what I understand can be achieved, using a helper column that ranks the Average Values of Column L
 
Upvote 0
Two things that would help in the future:

1.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

2.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.


See if this is what you want.

22 08 02.xlsm
DEKLMNOP
1
2MDRDP1-P5TCMDRD
3ADAF129943
4MPAM1001143
5ASBA149622
6ADEF185422
7MPAF238211
8ASAM1011032
9ADBA239111
10MPEF223321
11ASAF159512
12ADAM138831
13MPBA139733
Rank
Cell Formulas
RangeFormula
N3:N13N3=RANK(L3,L$3:L$13)
O3:P13O3=SUMPRODUCT((D$3:D$13=D3)*($L3<$L$3:$L$13))+1
 
Upvote 0
Thanks Peter_SSs for sharing useful information. I came on forum after a long time, so it helped me update my profile.
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,937
Members
449,196
Latest member
Maxkapoor

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