+ Reply to Thread
Results 1 to 4 of 4

Formula to calculate Rank based on number of failures

  1. #1
    Registered User
    Join Date
    12-24-2016
    Location
    Balurghat, West Bengal, India.
    MS-Off Ver
    2019
    Posts
    56

    Formula to calculate Rank based on number of failures

    Hi !
    Please suggest me a formula to calculate the Ranks of a range of Scores based on the number of failures.
    Regards,
    avijit74
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula to calculate Rank based on number of failures

    Try in E1

    =SUMPRODUCT(--($B$2:$B$15<B2))+SUMPRODUCT(($B$2:$B$15=B2)*($C$2:$C$15>C2))+1

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    12-24-2016
    Location
    Balurghat, West Bengal, India.
    MS-Off Ver
    2019
    Posts
    56

    Re: Formula to calculate Rank based on number of failures

    Hi Ace_XL,
    Thanks a lot. I want to know what if any two, may be more, Scores and their Failures are same ? Here both in A7 & A8 are assigned Rank 6. In this case I want Rank 6 for the student in A8 and Rank 7 for A7 ie, in alphabetical order. Is this possible ?
    Regards,
    Avijit74
    Attached Files Attached Files

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula to calculate Rank based on number of failures

    I'd suggest sorting your list alphabetically and then using an additional logic in your formula

    =SUMPRODUCT(--($B$2:$B$15<B2))+SUMPRODUCT(($B$2:$B$15=B2)*($C$2:$C$15>C2))+1+COUNTIFS($B$1:$B1,B2,$C$1:$C1,C2)

+ 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. Replies: 4
    Last Post: 07-13-2017, 05:45 PM
  2. Replies: 1
    Last Post: 01-23-2016, 10:03 PM
  3. Formula to calculate % based on a number & text in cells
    By Skyboy88 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-15-2014, 07:02 AM
  4. Replies: 1
    Last Post: 07-18-2013, 10:11 AM
  5. Formula calculate based on negative or positive number
    By oxicottin in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-15-2012, 12:45 PM
  6. Calculate Sales Person Rank based on 3 weighted criterias
    By kroner9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2012, 09:57 AM
  7. Excel 2007 : How to calculate Mean Time between Failures
    By Icehockey44 in forum Excel General
    Replies: 3
    Last Post: 02-21-2012, 08:20 AM

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