Ranking associate scores with meet a minimum number of survey results

longhornlongcut

New Member
Joined
May 2, 2017
Messages
1
Here is a sample of my data. I am trying to rank associates by their SQscore as long as they meet the minimum number of surveys returned (SQ Survey Count). The minimum number is based off the average number of surveys returned, 13.8.

What I hope to see is =Rank associate by their SQ score, but only if they have at least 13.8 survey results, other wise show "-".

SQ Avg13.8
IDSQ Survey CountSQ ScoreRank
ASZYMEL3060
CLISZKA250
CPRICE1-100
DOMALLEY1118
EDULZO20
JHUBACEK3077
JKANAK1100
JOMALLEY2100
JPDELACRUZ1225
KBONAMER3962
KSHERMAN4351
MB45701100
MNAVARRETE333
MURIBE1100
NHARRIS2924

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Welcome to the forum.

What you seek is a formula that ranks with conditions. There is no Excel function yet that does RANKIF, but we can hope the Excel team creates one soon.

This topic is covered extensively in the forum, but I worked out the answer for you anyway. There is a single-cell formula and there is an algorithm that requires a helper column (since function RANK chokes on complex arrays).

Copy D4, F4 and G4 down to cover the entire range.

ABCDEFG
1SQ Avg13.8
2
3IDSQ Survey CountSQ ScoreRankIfSQScore >=13.8Rank
4ASZYMEL30603603
5CLISZKA250-FALSE
6CPRICE1-100-FALSE
7DOMALLEY1118-FALSE
8EDULZO20-FALSE
9JHUBACEK30771771
10JKANAK1100-FALSE
11JOMALLEY2100-FALSE
12JPDELACRUZ1225-FALSE
13KBONAMER39622622
14KSHERMAN43514514
15MB45701100-FALSE
16MNAVARRETE333-FALSE
17MURIBE1100-FALSE
18NHARRIS29245245

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet16

Worksheet Formulas
CellFormula
D4=IF(B4>=$B$1,SUMPRODUCT(--($B$4:$B$18>=$B$1),--(C4<$C$4:$C$18))+1,"-")
G4=IF(F4,RANK.EQ(F4,$F$4:$F$18),"")
F3="SQScore >="&B1
F4=IF(B4>=$B$1,C4)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,334
Messages
6,124,319
Members
449,154
Latest member
pollardxlsm

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