Write the different situations of Spearman’s rank correlation

In calculation of rank correlation following conditions may arise
(i) Real ranks may be given.
(ii) Ranks may not be given, then we provide ranks on the basis of actual values.
(iii) The same ranks may occur more than one time, in this condition average rank is alloted.