Closed Thread
Results 1 to 2 of 2

Ranking the numbers in order of appearances.

  1. #1
    Registered User
    Join Date
    03-07-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    5

    Ranking the numbers in order of appearances.

    Hi,
    Can somebody please help me. I have a set a numbers in one column say A like this.

    6
    6
    4
    4
    4
    3
    3
    2
    1

    All i want is to write a forrmula in each adjacent cell in column B giving me the ranking of these numbers in column A. eg., above here number 6 is appearing twice so I would want it 1 and 2. Number 4 as it appears thrice so it would be 1,2 and 3 and so on. The result would look like this.

    6 1
    6 2
    4 1
    4 2
    4 3
    3 1
    3 2
    2 1
    1 1

    Countif function only gives me the number of times it appears in a range. It does not give me the order of the appearance in the range. Any help will be appreciated. Thanks in advance.

    P.S. The numbers change dynamically based on some results. So the ranking has to be automatic.
    The numbers may or may not be in descending or ascending order. They can be random too.

    Thanks
    Maneesh

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Ranking the numbers in order of appearances.

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.


    Please be sure to familiarise yourself with the Board's Rules prior to posting further.

Closed Thread

Thread Information

Users Browsing this Thread

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

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