This may be finished by introducing the following correction aspect to the value returned by RANK. This correction aspect is appropriate the two for the case exactly where rank is computed in descending purchase (order = 0 or omitted) or ascending order (order = nonzero value). maths (of a matrix) https://www.imdb.com/title/tt30110854/?ref_=wl_t_1