I have a column of numbers which shows order of finish in a tournament.
Example for the following columns.
Col A Col B Col C Col D Col E Col F
Player Name MP Game W/L Ratio Points W/L Ratio Place TieBreak Ranking
Raquel Welch 20 1.67 1.11 1 0
Bill Wallace 19 1.32 1.04 2 0
Janet Leigh 18 1.29 1.06 3 1
Jay Boateng 18 1.04 0.97 3 3
Toni Tenille 18 1.05 1 3 2
Barry Scott 17 0.96 1 6 0
Clark Gable 16 1 1.02 7 1
Alex Trebek 16 0.91 1.01 7 2
Sean Hernandez 16 1.05 1.01 7 2
Shawn Sapp 14 0.84 0.96 10 1
Jean-Marie Kanai 14 0.8 0.94 10 2
Mark Masters 12 0.5 0.88 12 0
I would like to have column F do a ranking of column D by descending order but only for those players who are tied (same value in column E) - I'd like a constant value of zero for players not tied in column E. So cell F2 and F3 would have value 0. Since E4 thru E6 are tied with value of 3 then column F formula would rank column D in descending order as follows - F4 thru F6 would have value of 1, 3, 2. If column D has same value on a tiebreaker set then they should have the same value in column E - example in rows 8 thru 10.
Is there a way to accomplish this via a formula or by a vba macro? I need to rank rows 2 thru 13 only.
Please let me know if this is do-able?
PS - the example above became skewed after I posted it - please refer to the attachment instead.
Thanks for any help you can give.
Bookmarks