SOLVED

Excel

Copper Contributor

Hello. Would appreciate help with the following matter.

 

I am trying to establish a ranked table based on a certain condition. My table relates to a series of cover designs which have been rated to produce individual scores out of 5. However, I only want to rank those covers that have been rated on 5 or more occasions (as indicated in column 2) such that Cover3 would not be ranked at all and that Cover13 would be ranked #1.

 

Have tried various approaches with the RANK formula but to no avail. Would therefore be grateful for any suggestions that will help crack the problem.

 

 RatingsScoreRank
Cover133.3314
Cover2123.5011
Cover315.001
Cover424.504
Cover593.788
Cover642.7517
Cover794.445
Cover8153.739
Cover923.5012
Cover1093.6710
Cover1113.0015
Cover1253.5013
Cover1395.002
Cover14144.007
Cover1563.0016
Cover1671.0020
Cover1762.5019
Cover1834.336
Cover1982.5718
Cover2035.003

 

Thanks in advance.

4 Replies

@Iriwel 

In D2:

 

=IF(B2>=5,COUNTIFS($B$2:$B$21,">=5",$C$2:$C$21,">"&C2)+1,"")

 

Fill down.

Thanks for your reply Hans; it works a treat and I would certainly not have arrived at this conclusion under my own steam. However, one additional matter; I would like the ranking results to be presented as a set of unique numbers. Is there a solution?

Look forward to your reply.
best response confirmed by Iriwel (Copper Contributor)
Solution

@Iriwel 

In D2:

 

=IF(B2>=5, COUNTIFS($B$2:$B$21, ">=5", $C$2:$C$21, ">"&C2) + COUNTIFS($B$2:$B2, ">=5", $C$2:$C2, C2), "")

 

Fill down.

Hans, again my very grateful thanks for your help.

Regards

James
1 best response

Accepted Solutions
best response confirmed by Iriwel (Copper Contributor)
Solution

@Iriwel 

In D2:

 

=IF(B2>=5, COUNTIFS($B$2:$B$21, ">=5", $C$2:$C$21, ">"&C2) + COUNTIFS($B$2:$B2, ">=5", $C$2:$C2, C2), "")

 

Fill down.

View solution in original post