Hi ABDUL RAHMAN SYED,
Thanks for visiting Microsoft Community.
Sounds like you want to get the rank of a specific class across all branches. Please try the following steps:
- For the "Class" column, click on the Sorting & Filtering option in the Home tab, then choose Filter. In the filter criteria, select a class—let's use Class 6 as an example.
2. Select all columns from "S.NO." to "Rank," then click on the Sort command in the Data tab. In the window that pops up, add your five sorting criteria sequentially and set them all to sort by cell value in descending order. See the illustration below for guidance.
3. At this point, you should theoretically be able to see the sorted results.
If you have any further questions or need additional assistance, please feel free to reply.
Best Regards,
Jonathan Z - MSFT | Microsoft Community Support Specialist