I'm trying to create a column with a rank of values based on a control column like this:
(A) (B) (C)
Value Control Rank
100 1 8
200 1 6
200 1 7
300 0 5
310 0 4
320 1 3
350 1 2
400 1 1
In col C I've used a combination of RANK and COUNTIF in order to get a general rank of all entries that accommodates duplicates nicely:
Now how I can do a rank on col D that only considers the values if the Control col B has the value 1?
My goal is to have this:
Note that I need it to deal with duplicates in the same way.
Thank you.


