+ Reply to Thread
Results 1 to 5 of 5

Rank by Column Q data first, then by Column L data, then by Column K data to break ties

  1. #1
    Registered User
    Join Date
    07-20-2019
    Location
    Utah
    MS-Off Ver
    Office 365
    Posts
    36

    Rank by Column Q data first, then by Column L data, then by Column K data to break ties

    I'm stuck on ranking with multiple criteria so I'm not left with ties (duplicate ranks).

    I've attached a small sample from a larger workbook. The columns with the header in red text (Row 2, columns D, F, G, L,& O) are manual input cells and are going to change. The remaining columns use formulas to automatically populate accordingly. But I'm having trouble creating a working formula in column R.

    In column R "Final Portfolio Rank" I want to rank the portfolios by their total points first (column Q), then by the portfolio score (column L), but that still leaves me with ties or duplicate ranks, so I want to break the ties using the final test ranks (column K).

    I have Excel 365, but others that need to use this spreadsheet don't. As a result I need the formula to use older functions from earlier versions of Excel (like 2016).

    Thanks in advance for any help with this.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Rank by Column Q data first, then by Column L data, then by Column K data to break tie

    May I use helper column (like T)
    and insert this formula in T3
    Please Login or Register  to view this content.
    Then use this column for ranking.

    Capture.JPG

    Regards.
    Last edited by menem; 09-07-2021 at 11:33 PM.

  3. #3
    Registered User
    Join Date
    07-20-2019
    Location
    Utah
    MS-Off Ver
    Office 365
    Posts
    36

    Re: Rank by Column Q data first, then by Column L data, then by Column K data to break tie

    Yes, I can insert helper columns if needed. I can always hide them from the participants. However, there is a problem with your solution because row 13 should be ranked 10th, not 11th. A judge will place the top 10 portfolios which are indicated by inputting their selection into column O. The judge should rank the highest score as 1st place and proceed with the next lower score. When two portfolios have the same score, the judge will determine which they like most and award them the placing. For an example, you can see the score on rows 3, 12, 13, & 14 are all 171. Row 3 was selected as 9th place, and row 13 was selected as 10th place. All remaining scores of 171 should be ordered according to who placed highest on the test. So row 12 should be in 11th place, row 14 should be in 12th place, and row 28 should be in 13th place, and so forth.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Rank by Column Q data first, then by Column L data, then by Column K data to break tie

    Try this formula for helper column:

    =Q3*10^12+L3*10^8-K3*10^4-O3

  5. #5
    Registered User
    Join Date
    07-20-2019
    Location
    Utah
    MS-Off Ver
    Office 365
    Posts
    36

    Re: Rank by Column Q data first, then by Column L data, then by Column K data to break tie

    Thank you both!

    I actually found a different solution. It's not quite as neat and tidy as both of your solutions, but I didn't have to insert a helper column either. It seems to be doing the trick. I'll post it so others can see the solution too.

    Here's the formula for row 3: =RANK.EQ($Q3,$Q$3:$Q$106)+SUMPRODUCT(($Q3=$Q$3:$Q$106)*($L3<$L$3:$L$106))+SUMPRODUCT(($Q$3:$Q$106=$Q3)*($L3=$L$3:$L$106)*($K3>$K$3:$K$106))-(Q$2=Q3)*(L$2=L3)*(K$2=K3)
    Attached Files Attached Files
    Last edited by clark402; 09-08-2021 at 02:47 AM.

+ 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] Extract Data in Column B and Column C Into Column E and F Based on Condition in Column D
    By bjnockle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2021, 12:18 PM
  2. [SOLVED] Need a formula to rank data within a column
    By khanaran in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 02-22-2020, 12:39 PM
  3. Replies: 4
    Last Post: 12-09-2019, 07:30 PM
  4. [SOLVED] Sorting a column based on data in another column? (RANK?)
    By Mr Frost in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-04-2016, 04:49 AM
  5. [SOLVED] Use second column to break ranking ties
    By swallis in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 10-13-2015, 05:36 PM
  6. Replies: 3
    Last Post: 08-02-2013, 02:16 PM
  7. Replies: 3
    Last Post: 02-08-2010, 06:18 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