In the above pic, the students are expected to be distributed across classes A, B and C, based on their marks. The student with highest marks goes in A. The once with next highest goes in B. The next highest goes in C. The next goes again to A and so on. What should be the formula to be used in Excel 2013 and above for calculating the Class?