All
I'm trying to rank data in largest to smallest order, with a tiebreak for identical items. The tiebreak sorts by size based on a second variable.
I'm using this formula:
=RANK($BP8,$BP$8:$BP$360,0)+SUMPRODUCT(--($BP$8:$BP$360=$BP8),--($K$8:$K$360>$K8))
This has worked brilliantly, but I've recently come across a problem where I have items ranked the same. It seems to derive from the two parts of the formula.
ie I have 5 items with $6m, which are ranked as 52 (using rank formula), and the tiebreak adds on anything from 0 to 5 (using the sumproduct part). However, I also have multiple items as $5.5m, which are ranked as 51, and add on another item (from the sumproduct amount).
This leads to items with the same ranking (ie 52+3 and 51+4). Any thoughts on how to fix for this? Using Excel 2003.
Thanks in advance
I'm trying to rank data in largest to smallest order, with a tiebreak for identical items. The tiebreak sorts by size based on a second variable.
I'm using this formula:
=RANK($BP8,$BP$8:$BP$360,0)+SUMPRODUCT(--($BP$8:$BP$360=$BP8),--($K$8:$K$360>$K8))
This has worked brilliantly, but I've recently come across a problem where I have items ranked the same. It seems to derive from the two parts of the formula.
ie I have 5 items with $6m, which are ranked as 52 (using rank formula), and the tiebreak adds on anything from 0 to 5 (using the sumproduct part). However, I also have multiple items as $5.5m, which are ranked as 51, and add on another item (from the sumproduct amount).
This leads to items with the same ranking (ie 52+3 and 51+4). Any thoughts on how to fix for this? Using Excel 2003.
Thanks in advance