How to find top positions basis multiple criteria while handling ties

ravi123

New Member
Joined
Dec 25, 2015
Messages
11
Hello All,
I'm looking for excel formula for following set of data:

I'm having Names in Col A, Scores in column B and quantity lifted in Col C.
I need to find top 3 positions. First data needs to be scan through Col B and find highest score and if there is a tie, than Col C should be considered and find the highest quantity lifted, this will be consider at no. 1 position, same logic will be applied to next highest score and quantity lifted if there is a tie.
There is a catch for third position, third position will be share by two candidates.
If there is no tie in scores than it may straight determine positions.
Col D will be having positions and Col E will be having corresponding Names of winners

Sample data and output mentioned below. Any help will further save my further hours of searching. Thanks

NameScoresQuantityPositionWinners
A
10​
50​
1​
D
B
30​
85​
2​
F
C
30​
70​
3​
B
D
60​
150​
3​
H
E
60​
140​
F
40​
100​
G
40​
90​
H
30​
71​
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Use col D as help column:
Call it "Points"; in D2 use the formula
Excel Formula:
=B2+C2/1000-ROW()/100000
Copy the formula down
Now in F2 set the formula
Excel Formula:
=INDEX($A$1:$A$10,MATCH(LARGE($D$1:$D$10,E2);$D$1:$D$10,0))
Copy the formula down for as many lines have a position in coloumn E (Position)

In this way the Rank will be determined, in descending order of importance, by the Score (column B), by the Quantity (column C), and by the position in the table
Bye
 
Upvote 0
@ravi123
What version of Excel are you using?
Please update your account details to show, as it affects which functions you can use.

Also why is the order D, F, B, H? shouldn't it be D, E, F, G?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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