PDA

View Full Version : [SOLVED:] Ranking like values the same, but not omitting the next rank number?



RINCONPAUL
03-02-2016, 07:12 PM
Rank formulas treat equal values as the same rank normally. Then the next value (descending or ascending) increases by the count of the like values. I'm after a formula to insert in col C that firstly recognises the change in subset data (col A), ranks the data sequentially with no gaps or rank numbers missing.
Thanks.

Bob Phillips
03-03-2016, 01:52 AM
Try this array formula


=COUNT(1/FREQUENCY(IF($A$2:$A2=A2,IF($B$2:$B2<>"",$B$2:$B2)),IF($A$2:$A2=A2,IF($B$2:$B2<>"",$B$2:$B2))))

RINCONPAUL
03-03-2016, 01:42 PM
Thanks xld, it kinda works, but can't differentiate between different subsets in col A and restart rank at '1' for next subset. Need an array formula I'd suggest?

Bob Phillips
03-03-2016, 04:15 PM
It is an array formula, and it does.

RINCONPAUL
03-03-2016, 04:56 PM
Whoops, apologies, I should've recognised it as such, and hit Ctrl Shift Enter. Thanks so much xld :hi: