+ Reply to Thread
Results 1 to 3 of 3

Ranking on particular percentage of data from any range

Hybrid View

  1. #1
    Registered User
    Join Date
    08-04-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2003
    Posts
    3

    Ranking on particular percentage of data from any range

    Hello Experts,

    I have a sheet where there are three column: User, Total Point & Rank in which there are 23 records. What I want is to assign ranks as per following condition:

    Top 10% should get rank 1
    Top 80% should get rank 2
    Remaining 10% should get rank 3


    I have also attached a sample sheet for this.

    Appericate your prompt response.



    Thanks,
    Santosh
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,163

    Re: Ranking on particular percentage of data from any range

    Ranking scores=Rating.xlsx

    Attached is one solution. Note that your data is sorted in descending order of score, so my solution assumes this will always be the case (that assumption makes the solution much simpler).

    I also assume that you meant the middle 80%; if it were the top 80% then it would also include the top 10%.

    Also note that the percentages do not always work out to round numbers. For example, in your sample there are 23 items. My solution looks for the largest number less than 0.10 so you only get two items ranked 1. Similar for 80%, and then that leaves 3 for the remaining 10% due to rounding error.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    08-04-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Ranking on particular percentage of data from any range

    Thanks a lot... its worked for me now....

+ 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