+ Reply to Thread
Results 1 to 6 of 6

Ranking in categories

Hybrid View

  1. #1
    Registered User
    Join Date
    08-14-2014
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    74

    Ranking in categories

    Hi there,

    I wondered if you could help.

    In columns M-O I'm trying to rank the average P1-P5 score by category. e.g. I would like the scores in column K to be ranked for all the names in column M.
    In column N, I would only like to rank scores in column K according to their "MD" (Column C), and similar for "RD" in Column O.

    I hope this makes sense... sorry if confusing... and thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,475

    Re: Ranking in categories

    not sure what MS excel version you have but you can try this formula in M3 copy across, it should spill down automatically.

    Formula: copy to clipboard
    =XLOOKUP(SORT($K$3:$K$14,1,-1),$K$3:$K$14,B$3:B$14,0,0)
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    08-14-2014
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    74

    Re: Ranking in categories

    Hi there, thank you for responding so quickly, really appreciate it.
    I don't think that works, that formula returns a name but I was hoping numbers would appear in column M-O.

    So for row 3 column N, I wanted to know what rank Alan Francis is within Romeo Cox's MD category. Similarly, in column O I wanted to know what rank Alan Francis is within Kellie Lowe's 'RD' category.

    You'll notice there are 4 names which are within the RD category "Kellie Lowe"... so I'm after a rank of 1-4 between Alan Francis, Ida Velazquez, Jannie Becker & Carmella Pope.

    I hope this makes a little bit of sense!!

  4. #4
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Ranking in categories

    In MD column N3 and drag down

    =SUMPRODUCT((C3=$C$3:$C$14)*(K3<$K$3:$K$14))+1

    In RD column O3 and drag down

    =SUMPRODUCT((D3=$D$3:$D$14)*(K3<$K$3:$K$14))+1

    ...and (edit) just for completeness

    In total company column M3 and drag down

    =RANK(K3,$K$3:$K$14,0)
    Last edited by Croweater; 08-01-2022 at 08:44 PM.

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Ranking in categories

    For users
    Excel for Microsoft 365
    Excel for Microsoft 365 for Mac
    Excel for the web
    Excel 2021
    Excel 2021 for Mac
    Excel for iPad
    Excel for iPhone
    Excel for Android tablets
    Excel for Android phones:

    This formula produces the entire table at once

    =SORTBY(B3:D14,K3:K14,-1)
    Last edited by HansDouwe; 08-02-2022 at 12:14 AM.

  6. #6
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Ranking in categories

    Did any of the solutions offered solve your problem?

+ 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. [SOLVED] Need sum total of categories per interval based on agent schedules and their categories
    By cph020283 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2021, 05:21 PM
  2. Data Validation from another Workbook (categories and sub categories)
    By pingoui in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-07-2019, 04:59 AM
  3. Ranking Question - Ranking based criteria but having forumla value issues
    By harp1983 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2016, 07:03 AM
  4. [SOLVED] Ranking wihin two categories and multiple classes
    By Johnmus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-08-2013, 02:28 AM
  5. Replies: 1
    Last Post: 05-15-2013, 06:55 AM
  6. Replies: 0
    Last Post: 07-22-2011, 03:51 PM
  7. Categories and Sub-Categories in Column Charts
    By theoneness in forum Excel General
    Replies: 2
    Last Post: 11-28-2009, 10:05 PM

Tags for this Thread

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