+ Reply to Thread
Results 1 to 4 of 4

Rank formula to not include duplicates

  1. #1
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Rank formula to not include duplicates

    Hi all,

    How can I rank a list of dates so that any that if two dates are the same, it doesn't rank them both as say 1, but rather makes one 1 and one 2. i.e...

    -----Column A-----Column B-----Column C
    1----01-06-15---------1-------------1-----
    2----03-06-15---------3-------------3-----
    3----04-06-15---------4-------------5-----
    4----02-06-15---------2-------------2-----
    5----03-06-15---------3-------------4-----
    6----05-06-15---------5-------------6-----

    Column A obviously contains the dates in question
    Column B is my current rank formula =Rank(A1,$A$1:$A$6)
    Column C is how I would like the rank formula to work.

    In the above example, A2 & A5 are both 03-06-15 meaning the rank formula gives them both '3' in Column B. In Column C though I would like for the first instance of 03-06-15 as '3' and the second instance as '4'.

    Any help greatly appreciated.

    Jason

  2. #2
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: Rank formula to not include duplicates

    I should add that some of the dates may be blank. Not sure if that would throw a spanner in the works of any potential solution. As it is at the moment, blank ones come up with #VALUE which is fine as I prefix my other formulas with a =IF(ISERROR()=TRUE argument

  3. #3
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Rank formula to not include duplicates

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: Rank formula to not include duplicates

    Quote Originally Posted by Ali Kırksekiz View Post
    Please Login or Register  to view this content.
    That simple! Thank you very much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] RANK formula cannot rank duplicates
    By unpluggedmusic in forum Excel General
    Replies: 5
    Last Post: 10-13-2012, 12:59 PM
  2. Rank formula and duplicates
    By jimstrongy in forum Excel General
    Replies: 6
    Last Post: 01-15-2012, 12:21 PM
  3. Replies: 1
    Last Post: 09-13-2011, 04:44 PM
  4. Excel Rank Duplicates then preferred rank
    By Economic in forum Excel General
    Replies: 2
    Last Post: 04-05-2009, 07:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1