+ Reply to Thread
Results 1 to 2 of 2

Excel ranking based on two columns

  1. #1
    Registered User
    Join Date
    02-24-2020
    Location
    Birmingham, England
    MS-Off Ver
    2016
    Posts
    1

    Excel ranking based on two columns

    I am trying to rank based on two columns.

    Firstly ranking on a number (grade) and then secondly ranking on a score for students all on the same grade. The second score is an average of their previous scores (column D)

    The grades are split into +/- (e.g 4+/4/4-) but the overall grading needs to be on full whole grade (4/5/6). The idea is all the 5+ would be ranked and then 5 would be ranked beneath these and then 5-. I have converted the subgrades to points values.

    Column L is how the final rank should look.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,700

    Re: Excel ranking based on two columns

    Hello carwardinet and Welcome to Excel Forum.
    This proposal employs three helper columns (M:O) which may be moved and/or hidden for aesthetic purposes:
    The Whole Grade column is populated using: =IF(ISTEXT([@TAG]),LEFT([@TAG])+0,[@TAG])
    The TAG + TSR/100 column is populated using: =SUM([@[TAG PTS]],[@[AVE TA]]/100)
    The TAG + TSR/100 Rank column is populated using: =SUMPRODUCT(([Whole Grade]=[@[Whole Grade]])*([TAG + TSR/100]>[@[TAG + TSR/100]]))+1
    So that the Whole Grade Rank column can be populated using: =[@[Whole Grade]]&" "&[@[TAG + TSR/100 Rank]]
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Ranking with RANK and SUMPRODUCT based on Two Value Columns
    By Newmord in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-28-2018, 03:01 PM
  2. [SOLVED] Ranking based on 3 columns (values)
    By jendan in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-12-2018, 06:04 AM
  3. [SOLVED] Ranking based on two columns
    By kabnt2005 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-12-2016, 08:41 AM
  4. Ranking columns based on condition in Excel
    By srikanth_bgl in forum Excel General
    Replies: 1
    Last Post: 02-10-2011, 01:36 PM
  5. Ranking based on two columns
    By leo73pk in forum Excel General
    Replies: 6
    Last Post: 01-01-2011, 12:47 PM
  6. Ranking based on two columns
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-21-2006, 02:21 PM
  7. Ranking based on two columns
    By sa02000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2006, 01:10 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