Rank within Category

H

Henrik

Hi,

I have developed the following function to determine an observation's rank
within that observation's respective category (culumn C contains the
category; the observation's rank is based on the value in column O):

=SUMPRODUCT(--($C$5:$C$69=$C5),--($O$5:$O$69<$O5))+1

Now, I have third binary variable (true/false) in column D. I would like to
only rank the observations that have a corresponding true value in column D
and return 0, blank or whatever if the value in column D is false. Do you
have any ideas?

Thanks,
Henrik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top