How to rank the date in Excel without duplicates

后端 未结 5 1128
悲哀的现实
悲哀的现实 2021-01-16 09:59

Good Morning.

I have a question about ranking date in excel, please see the image below, in the rank column,

I used formula:

=RANK($A3,$A:$         


        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-16 10:29

    Or you can try an array formula:

    =SUMPRODUCT((A$1:A$6

    Assuming date in in Column A.

    Here's a good discussion on this formula: http://www.excelforum.com/excel-formulas-and-functions/672016-un-skipping-the-rank-after-a-duplicate-value-to-get-a-regular-series.html

    my output:

    Date        number  rank
    8/15/2017   1234    1
    8/15/2017   4321    1
    8/15/2017   4325    1
    8/17/2017   8970    2
    8/17/2017   8971    2
    8/20/2017   5674    3
    

提交回复
热议问题