Rank using 3 criteria

kishen

New Member
Joined
Jun 4, 2010
Messages
2
Hi there. I've been struggling with a problem for almost a week now. I'm trying to assign a rank score to some data based on 3 criteria. The end result should be in a single cell (in fact, I'm using nested if statements to add different combinations, but this is the toughest one).

Criterion 1: Global, Regional or Local (column F)
Criterion 2: Yes or No (column I)
Criterion 3: A score between 1 and 100 (column M)

It works fine when I try to use Criteria 2 and 3 or Criteria 1 and 3, but I'm struggling with all 3 in the same formula.

C1+3 formula is:
COUNTIF($F$3:$F$22,"<"&$F3)+COUNTIFS($F$3:$F$22,$F3,$M$3:$M$22,">"&$M3)+1

C2+3 formula is: COUNTIF($I$3:$I$22,">"&$I3)+COUNTIFS($I$3:$I$22,$I3,$M$3:$M$22,">"&$M3)+1

C1+2+3... need help here.

Thank you :)
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Try

=SUMPRODUCT((COUNTIF($F$3:$F$22,"<"&$F3)+(COUNTIF($I$3:$I$22,">"&$I3)+(COUNTIFS($F$3:$F$22,$F3,$M$3:$M$22,">"&$M3)+1))))
 
Upvote 0
Try

=SUMPRODUCT((COUNTIF($F$3:$F$22,"<"&$F3)+(COUNTIF($I$3:$I$22,">"&$I3)+(COUNTIFS($F$3:$F$22,$F3,$M$3:$M$22,">"&$M3)+1))))

I tried that myself earlier... it doesn't work as needed. The rank has duplicate numbers and skips a few numbers as well. Looking at the scores, that shouldn't be the case.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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