+ Reply to Thread
Results 1 to 9 of 9

Multiple Criteria Ranking Help needed

  1. #1
    Registered User
    Join Date
    11-26-2018
    Location
    Bangkok, Thailand
    MS-Off Ver
    2016
    Posts
    10

    Multiple Criteria Ranking Help needed

    Hello, I have a problem with the ranking system.

    Below are some examples of data.

    D E F Rank
    46 3 3
    45 5 3
    44 4 12
    42 2 9
    56 1 17
    64 3 17
    23 3 17
    64 5 17

    D - Score
    E - Selected Number
    F - Group Number

    I would like it to be ranked in group; meaning if it's in Group 17 (Column F), I want it to be ranked by, first, Seleceted Number (column E; from smallest to largest), and then by Score (column D, from lagrest to smallest)

    For better understanding, look at it like a university application system where you can choose multiple university (F) in multiple ranks (E) with the scores (D)

    I tried some various method with sumproduct, rank, countifs but sadly unsuccessful. So, I decided to ask for some help here.

    Thank you in advance. X
    Last edited by Rambluesky; 11-26-2018 at 09:38 AM.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Multiple Criteria Ranking Help needed

    Sawaddee

    Please try at D2 and copy down

    =SUMPRODUCT(--(C2*10^8-B2*1000+A2<$C$2:$C$9*10^8-$B$2:$B$9*1000+$A$2:$A$9))+1

    If this not correct, please mock up manual answer at column D.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,594

    Re: Multiple Criteria Ranking Help needed

    In D2 then cop down.

    =SUMPRODUCT(($C$2:$C$9=$C2)*((($B$2:$B$9)+($A$2:$A$9*10^-5))<($B2+$A2*10^-5)))+1
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Registered User
    Join Date
    11-26-2018
    Location
    Bangkok, Thailand
    MS-Off Ver
    2016
    Posts
    10

    Re: Multiple Criteria Ranking Help needed

    Quote Originally Posted by Bo_Ry View Post
    Sawaddee

    Please try at D2 and copy down

    =SUMPRODUCT(--(C2*10^8-B2*1000+A2<$C$2:$C$9*10^8-$B$2:$B$9*1000+$A$2:$A$9))+1

    If this not correct, please mock up manual answer at column D.
    Sawasdee Krub

    Sorry to say that it is not exactly what I would like it to be.
    The concept of ranking in D and E is correct but I need the ranking to be grouped by F first.
    I illustrate the examples as you requested below because It seems that I still cannot attach any links and files.

    D E F Rank
    56 1 Group A 1
    64 3 Group A 2
    23 3 Group A 3
    64 5 Group A 4
    46 3 Group B 1
    45 5 Group B 2
    44 4 Group C 1
    42 2 Group D 1

  5. #5
    Registered User
    Join Date
    11-26-2018
    Location
    Bangkok, Thailand
    MS-Off Ver
    2016
    Posts
    10

    Re: Multiple Criteria Ranking Help needed

    Quote Originally Posted by kvsrinivasamurthy View Post
    In D2 then cop down.

    =SUMPRODUCT(($C$2:$C$9=$C2)*((($B$2:$B$9)+($A$2:$A$9*10^-5))<($B2+$A2*10^-5)))+1
    This is nearly exactly what I would like it, but in the first column, it should be ranked from the largest number to the smallest number.

  6. #6
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Multiple Criteria Ranking Help needed

    Then perhaps:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Multiple Criteria Ranking Help needed

    Please try D2

    =SUMPRODUCT(($C$2:$C$9=C2)*(($B$2:$B$9*10^5-$A$2:$A$9)<B2*10^5-A2))+1

  8. #8
    Registered User
    Join Date
    11-26-2018
    Location
    Bangkok, Thailand
    MS-Off Ver
    2016
    Posts
    10

    Re: Multiple Criteria Ranking Help needed

    Quote Originally Posted by WideBoyDixon View Post
    Then perhaps:

    Please Login or Register  to view this content.
    WBD
    Quote Originally Posted by Bo_Ry View Post
    Please try D2

    =SUMPRODUCT(($C$2:$C$9=C2)*(($B$2:$B$9*10^5-$A$2:$A$9)<B2*10^5-A2))+1
    Both of these works perfectly, Thank you so much! X

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,594

    Re: Multiple Criteria Ranking Help needed

    Formula revised

    =SUMPRODUCT(($C$2:$C$9=$C2)*((($B$2:$B$9)-($A$2:$A$9*10^-5))<($B2-$A2*10^-5)))+1

+ 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. Need help Ranking with multiple criteria
    By Sanbantu in forum Excel General
    Replies: 4
    Last Post: 08-26-2017, 04:36 PM
  2. [SOLVED] RANKING Given Multiple Criteria
    By watchouse in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-17-2016, 10:37 AM
  3. Ranking - multiple criteria
    By Lugashz in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-14-2015, 09:09 AM
  4. Multiple Criteria Ranking
    By Keelin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 01:32 AM
  5. [SOLVED] multiple criteria conditional ranking and protecting multiple sheets in one go
    By samktlim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-31-2013, 09:31 AM
  6. Ranking by multiple criteria
    By augy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2008, 12:37 PM
  7. Multiple Ranking Criteria
    By Bullfn33 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-13-2007, 04:12 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