View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Vincnet.
 
Posts: n/a
Default Can I Rank on a second criteria if the first is equal?

Hi!
I'm not sure it's directly feasible...
However - and fortunetaly - there's a plan B. If you're first criteria is in
column B and the 2nd criteria in column C, add a column before using the TANK
function with the following formula: B2+C2/1000000 (add some 0 if the column
C has numbers larger than in column B). You now can use the RANK function on
the new column...

Does it help?


--
KR

V.


"CohenRB" wrote:

i am trying to rank sets of data on units ordered. Where the returned values
are the same i then need to rank on units delivered.

I.E. Over the 88 regions in question the ordered units for the quarter in
some cases are the same. I don't want to end up with some regions being
ranked the same so i need a kind of RANKIF option, so IF the RANK is the same
as any other then a second RANK based on a second criteria (in this case
units delivered) needs to be considered.

Maybe an easier example is to consider football, where teams are ranked by
the points they have accumulated. If the points are the same they are then
ranked on the goal difference.