Ranking Groups with Multiple Criteria

mwicks

New Member
Joined
Nov 16, 2016
Messages
3
A

B
C
D
E
GROUP
TARGET
ACTUAL
% ATTAINMENT
EXPECTED RANK
A
9
17
188.9%
1
A
7
13
185.7%
2
A
6
11
183.3%
3
A
12
18
150%
4
A
6
9
150%
5
B
1
11
1100%
1
B
3
9
300%
2
B
4
8
200%
3
B
1
2
200%
B
6
6
100%
4
C
7
7
100%
1
C
6
6
100%
2
C
24
20
83.3%
C
31
6
19.4%
D
14
19
135.7%
1
D
34
37
108.8%
2
D
24
24
100%
3

D
26
13
50%

<tbody>
</tbody>

Hello, I would like to rank a set of data by group and based on multiple criteria. I've given a sample below with the expected output in column E. For each group, I would like to rank by % Attainment (column D), and break ties with Actual (column C). Also, I would like the ranking to skip any line where the % Attainment is less than 100%, or where the Actual is less than 3. Any help would be greatly appreciated!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Try this, copied down.

Excel Workbook
ABCDE
1GROUPTARGETACTUAL% ATTAINMENTEXPECTED RANK
2A917188.90%1
3A713185.70%2
4A611183.30%3
5A1218150%4
6A69150%5
7B1111100%1
8B39300%2
9B48200%3
10B12200%
11B66100%4
12C77100%1
13C66100%2
14C242083.30%
15C31619.40%
16D1419135.70%1
17D3437108.80%2
18D2424100%3
19D261350%
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,383
Members
448,955
Latest member
BatCoder

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