Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Rank using another column for tiebreaker

I am trying to figure out how to use another column as a tiebreaker when
using the rank feature. For example:



Column A Column B Rank

150 55 3

362 65 5

251 67 6

119 55 3

167 87 8

225 44 1

269 83 7

198 44 1



I want to rank Column B but if there is a tie, I want to look at column A to
break that tie.



Can you help me?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Rank using another column for tiebreaker

=1+SUMPRODUCT(--($B$1:$B$8<B1))+SUMPRODUCT(--($A$1:$A$8<A1),--($B$1:$B$8=B1))

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"mbass" wrote in message
...
I am trying to figure out how to use another column as a tiebreaker when
using the rank feature. For example:



Column A Column B Rank

150 55 3

362 65 5

251 67 6

119 55 3

167 87 8

225 44 1

269 83 7

198 44 1



I want to rank Column B but if there is a tie, I want to look at column A
to
break that tie.



Can you help me?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Rank using another column for tiebreaker

Before I get hauled over the coals

=1+COUNTIF($B$1:$B$8,"<"&B1)+SUMPRODUCT(--($A$1:$A$8<A1),--($B$1:$B$8=B1))

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"mbass" wrote in message
...
I am trying to figure out how to use another column as a tiebreaker when
using the rank feature. For example:



Column A Column B Rank

150 55 3

362 65 5

251 67 6

119 55 3

167 87 8

225 44 1

269 83 7

198 44 1



I want to rank Column B but if there is a tie, I want to look at column A
to
break that tie.



Can you help me?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Rank using another column for tiebreaker

Okay, so I created a spreadsheet that tracks the NHL season
standings. I have a similar problem, but don't quite understand where
to use that formula above. In my spreadsheet, rank is determined by
points, but in the case of a tie, it should be further determined by
number of wins. I've used the formula:
=RANK(V2,$V$2:$V$14,0)
starting in A2 and copied down the A column to determine each teams
rank (it updates based on row number), but in the case of the teams in
rows 4 and 6, they're tied for fourth place based on points. The team
in row 6 wins the tie because they have 2 more wins (row D). How do I
adjust my RANK formula to check the D column after the initial ranking
if there is a tie? Do I paste your formula above (adusting columns
and rows) all down the A column? I know I've got it wrong... I'm
lost :-)

A D V
1 Rank Wins Points
2 1 50 106
3 2 45 99
4 4 40 89
5 3 43 94
6 4 42 89
7 6 39 88
8 7 38 86
9 8 39 84
10 9 37 82
11 10 38 81
12 11 36 80
13 12 36 78
14 13 33 77
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Rank using another column for tiebreaker

This thread has been fragmented so we ( I ) can't see what you're responding
to.

Try this...

=RANK(V2,V$2:V$14)+SUMPRODUCT(--(V2=V$2:V$14),--(D2<D$2:D$14))

Copy down as needed


--
Biff
Microsoft Excel MVP


wrote in message
...
Okay, so I created a spreadsheet that tracks the NHL season
standings. I have a similar problem, but don't quite understand where
to use that formula above. In my spreadsheet, rank is determined by
points, but in the case of a tie, it should be further determined by
number of wins. I've used the formula:
=RANK(V2,$V$2:$V$14,0)
starting in A2 and copied down the A column to determine each teams
rank (it updates based on row number), but in the case of the teams in
rows 4 and 6, they're tied for fourth place based on points. The team
in row 6 wins the tie because they have 2 more wins (row D). How do I
adjust my RANK formula to check the D column after the initial ranking
if there is a tie? Do I paste your formula above (adusting columns
and rows) all down the A column? I know I've got it wrong... I'm
lost :-)

A D V
1 Rank Wins Points
2 1 50 106
3 2 45 99
4 4 40 89
5 3 43 94
6 4 42 89
7 6 39 88
8 7 38 86
9 8 39 84
10 9 37 82
11 10 38 81
12 11 36 80
13 12 36 78
14 13 33 77



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rank a quantity column using a pivot table Pete Excel Discussion (Misc queries) 0 March 5th 07 10:44 PM
Rank and return column header Jshendel Excel Discussion (Misc queries) 5 November 3rd 06 10:12 PM
Rank a column but not include some cells Pillar Excel Discussion (Misc queries) 10 October 8th 06 05:33 AM
how can i rank a column in excel David B. Excel Worksheet Functions 4 August 30th 05 03:54 AM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM


All times are GMT +1. The time now is 01:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"