A formula that should work in all versions of Excel:
=IF(C1="","N/A",SUMPRODUCT(($C1:$M1<=C1)*($C1:$M1<>"")/COUNTIF($C1:$M1,$C1:$M1&"")))
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dear friends,
In Excel, while I use Rank Function for values like, as follows:
5
4
3
4
2
2
2
1
4
I want to rank all in a ranking manner as follows, i.e. in ascending mode, leaving any values in the outcome:
5
4
3
4
2
2
2
1
4
But the result is found to be received as:
9
6
5
6
2
2
2
1
6
In other words, 3 & 4 are not being found to be returned.
Any way to achieve the same?
Thanks in advance.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
A formula that should work in all versions of Excel:
=IF(C1="","N/A",SUMPRODUCT(($C1:$M1<=C1)*($C1:$M1<>"")/COUNTIF($C1:$M1,$C1:$M1&"")))
Sorry Andreas,
But seems like this fan of yours and HansV was not clear enough.
Kindly see my reply to HansV.
Looks like RANK function is not going to work here.
Anyways, have worked out the same using a combination of MATCH, SORT & UNIQUE as follows:
Thanks anyways.
If RANK function could be used in any manner, specially like for instance to be used for earlier versions, like in a UDF, your feedback would be appreciated.
Excellent feedback HansV!!!
Thanks a lot dear!!!