Regarding the ranking, there are probably several possibilities:
Excel default ranking
foreign style ranking
Chinese ranking
category ranking
I have summarized all the ranking formulas for you. You can directly apply the formulas when you encounter similar problems in the future.
As shown in the figure below, there are three rankings, you can make a distinction first: 558 classes! Office essentials! The whole process of excellent courses for Excel Xiaobai to transform into a master - Knowledge Rabbit
1
RANK function default ranking
official:
=RANK(B2,$B$2:$B$11)
The first column is ranked using the RANK function. If there are no duplicates in sales, you can use this formula directly. When there are duplicate values, the results of this formula seem a bit nondescript. Class 558 ! Office essentials! The whole process of excellent courses for Excel Xiaobai to transform into a master - Knowledge Rabbit
2
foreign style ranking
official
=RANK(B2,$B$2:$B$11)+COUNTIF($B$2:B2,B2)-1
On the basis of the RANK function, use the COUNTIF function to calculate whether there will be repetitions, and if there are repetitions, add 1 to it as a continuous ranking support.
3
Chinese ranking
official:
=SUMPRODUCT((B2<=$B$2:$B$11)/COUNTIF($B$2:$B$11,$B$2:$B$11))
There will be tie-ups in Chinese-style rankings, so if you encounter such a need, you can directly apply the above formula.
4
Categorical Ranking
official:
=SUMPRODUCT(--($A$2:$A$11=A2),--(C2<=$C$2:$C$11))
This kind of requirement is also very common. Of course, you can do all personnel rankings, but if you need to rank each department separately, you need to use the above formula.