Please see the attached file
1) Need to have a formula in column F.
2) Based on the column E result (percentage) assign the position in the class for example 1st, 2nd, 3rd, 4th, 5th or just 1, 2, 3, 4, 5 and so on till the last item of the data/list (and that can be any number of students)
3) In-case of same exact percentage then need to check P.NO. and the lowest P.NO. gets more weight-age/preference. For example in the given example P.NO. 101 and P.NO. 109 has the same percentage but with the P.NO. 101 will be above in the position above then P.NO. 109