I don't want to abuse this service, but is there a way to use this function AND specify the rows ranked that meet a second condition from another column?
For example....in my dataset, the dates are biopsy dates. Some of these dates are associated with an outcome of interest (kidney transplant rejection) while others are not.
What I would like to be able to do is rank all the rows in order if they meet the rejection condition while skipping the other rows.
In the end, I would have a column that has labelled the 1st rejection, 2nd rejection, etc.
For example...like below. In this data "Bx Date" = biopsy date, and "TCMR Sequence" refers to T cell-mediated rejection.
Here I have already put them all in sequence in the TCMR sequence column but ideally, I would like to generate a formula that does this automatically for all 3,700 rows in the database.
I am familiar with creating simple If/Then formulas but I always struggle once the formula has to evaluate multiple rows for a given patient.