在Excel中排名值 [英] Ranking values in Excel

查看:89
本文介绍了在Excel中排名值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将以下代码插入到单元格列中以对其值进行排名。

I am inserting the code below into a column of cells to rank their values.

除非有2个或更多相同的值,否则它可以正常工作。即。它给出了两个值的相同等级数。

It works fine, except where there are 2 or more values which are the same. ie. it gives the same rank number for both values.

有没有办法让所有排名的数字不同,即使它们排名的某些值是相同的?

Is there a way of making all ranked numbers different, even if some values they are ranking are the same?

ActiveCell.FormulaR1C1 =" = RANK(RC [-3],C [-3],0)"

ActiveCell.FormulaR1C1 = "=RANK(RC[-3],C[-3],0)"

推荐答案

Srt值,然后使用排序顺序。
Srt the values and then use sort order.


这篇关于在Excel中排名值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆