I am trying to rank these teams, in the following orderI don't want duplicate ranks on ties.
- Points
- Goal Difference
- Goals Scored
- Team Name
I am using Excel 2010
I am trying to rank these teams, in the following orderI don't want duplicate ranks on ties.
- Points
- Goal Difference
- Goals Scored
- Team Name
I am using Excel 2010
Last edited by okopo; 01-08-2012 at 07:02 PM.
Hi okopo
Please click attached. I done VBA to sort the table. Pos Sort Rank and Sumproduct and p. I put in =sum($D2:$F2)
Good luck
Create a secondary numeric value based on the items you want to include in the calculation and in the order you want them included. So, if the order you want them evaluated are:
J2
I2
H2
G2
Row position (higher in the list gets a better rank)
Then this would be the new "index score" formula...in K2 then copied down:
=J2 + (I2/100) + (H2/10000) + (G2/1000000) + (ROW()/100000000)
Then, your normal RANK() formula in A2, copied down:
=RANK($K2,$K$2:$K$21)
This should give you the correct results regardless of the ordered list, so put the list in order based on team names in the order you would break the final ties based on list order.
Last edited by JBeaucaire; 01-09-2012 at 03:16 PM. Reason: corrected column A formula
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Similar to Jerry,
Add a tie-breaker column, in this example Column J.
In J2
Drag/Fill Down![]()
Please Login or Register to view this content.
In L2
Drag Across then down.![]()
Please Login or Register to view this content.
Enter the new results in your original Table (This need not be sorted)
Changes will automatically happen in the table I have added.
Last edited by Marcol; 01-09-2012 at 09:53 AM.
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
Sorry my mistake in Rank
Do what JBeaucaire did.
K2 =J2 + (I2/100) + (H2/10000) + (G2/1000000) + (ROW()/100000000) then copy down
A2 =RANK($k2,$k$2:$k$21) then copy down will give you correct Rank. Don't put in what JBeaucaire say (=RANK($M2,$M$2:$M$21) cos nothing in row M cell it blank.)
Marcol is good. But if Tie Breaker. it come up same name. Sample first game of the season. Liverpool and Man Utd both won 2-0. That mean Tie Breaker It will show 2 Man Utd no Liverpool show up.
Last edited by micope21; 01-09-2012 at 12:35 PM.
Good point micope21
In the event of an absolute tie, commonly found early in the season, the final order is usually returned alphabetically.
The initial table should, in that case, be set up alphabetically and that should never change.
The Tie-breaker then becomes,
or, to vary the league size![]()
Please Login or Register to view this content.
See this new attachment![]()
Please Login or Register to view this content.
That better Marcol
I also put in RANK and POS. Rank put in =K2+J2/10^3+H2/10^6+(21-ROW(B1))/10^9 and POS put in =K2+J2/10^3+H2/10^6.
Look better in Tie breaker.
Now it up to okopo to choose or all file.
Last edited by micope21; 01-09-2012 at 03:31 PM.
@ micope21
I'm glad that you approve of my amendments, but what is the advantage that you are suggesting?
What purpose do the extra columns serve in your enhancement?
Marcol.
For me. I would prefer POS. You know what number they are in straight away in sec. Without it. You got to count what POS they are in.
okopo had put in POS. Maybe that what okopo want.
Would this not be enough?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks