+ Reply to Thread
Results 1 to 2 of 2

Ranking

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    n/a
    Posts
    1

    Ranking

    I want to rank a list of number, but if the a number is the same as the previous row it should have the same rank. It should look like this:

    e.g.

    Number-----------------rank
    900 --------------------1
    777 -------------------- 2
    384 -------------------- 3
    111 -------------------- 4
    111 -------------------- 4
    100 -------------------- 6
    97 -------------------- 7
    97 -------------------- 7 (I can't quite figure out this bit)
    97 -------------------- 7
    4 -------------------- 10
    2 -------------------- 11

    I was trying in the rank column the following formula If(A2=A1,B2+frequency(A1:A11,A1),B2+1) but it doesn't seem to work.

    Any suggestions would be extremely appreciated.
    Last edited by NBVC; 08-08-2008 at 11:12 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Did you try using the RANK() function?

    Try:

    =RANK(A2,$A$2:$A$12)

    copied down

    where A2 is the first number to rank, and A2:A12 is your whole range reference to rank.. adjust as necessary
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to 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