This can be carried out by introducing the next correction aspect to the value returned by RANK. This correction factor is acceptable the two for the case the place rank is computed in descending order (purchase = 0 or omitted) or ascending buy (buy = nonzero benefit). Off-webpage Search engine https://www.imdb.com/title/tt30110854/?ref_=wl_t_1