Rank without skipping numbers
I have a list of ranks but if there are duplicate numbers it skips the next rank.
For example I get:
#, Rank
1,1
2,2
2,2
3,4
4,5
4,5
5,7
I want:
#, Rank
1,1
2,2
2,2
3,3
4,4
4,4
5,5
This is what I found to work on Excel but can't use it in Numbers:
=SUMPRODUCT((A$1:A$22>A1)/COUNTIF(A$1:A$22,A$1:A$22&""))+1