+ Reply to Thread
Results 1 to 4 of 4

Rank amounts and duplicated in descending order

  1. #1
    Forum Contributor
    Join Date
    11-25-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    107

    Rank amounts and duplicated in descending order

    I need a formulas to rank in descending order.
    Ranking needs to take into account same amounts
    in each column and assign a different rank
    number for duplicate amounts.
    Please see attachment

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Rank amounts and duplicated in descending order

    Hi
    C2: =RANK(A2,$A$2:$A$21)+SUMPRODUCT(($A$2:$A$21=A2)*($B$2:$B$21>B2)). This Rank A2:A21 then count B2:B21
    or =RANK(A2,$A$2:$A$21)+COUNTIF($A$2:A2,A2)-1

    D2: =RANK(B2,$B$2:$B$21) Reason this Rank is you put in some B2:B21 35.6923076923077%. If you put in 35.6? Then you need this =RANK(B2,$B$2:$B$21)+COUNTIF($B$2:B2,B2)-1
    or =RANK(B2,$B$2:$B$21)+SUMPRODUCT(($B$2:$B$21=B2)*($A$2:$A$21>A2)). This Rank B2:B21 then count A2:A21.
    Last edited by micope21; 01-18-2012 at 02:46 AM.

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Rank amounts and duplicated in descending order

    Hello Jim, try any of this in D2, copy down.

    Please Login or Register  to view this content.
    Or,

    Please Login or Register  to view this content.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Forum Contributor
    Join Date
    11-25-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: Rank amounts and duplicated in descending order

    Quote Originally Posted by Haseeb A View Post
    Hello Jim, try any of this in D2, copy down.

    Please Login or Register  to view this content.
    Or,

    Please Login or Register  to view this content.
    Any way to turn this formulas in deccending order. Ranking in descending order so the highest sales or margin show highest ranking and the lowest one to show ranking #1.
    Thanks

+ 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