+ Reply to Thread
Results 1 to 6 of 6

Excel Ranking with multiple conditions

  1. #1
    Registered User
    Join Date
    10-24-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Excel Ranking with multiple conditions

    Hi,

    I have an excel file with the attached format. Now i want to put rank for the event. Here I am manually put the rank (rank 1 Only) on the last field.

    Please can you give the formula instead of manual?

    THanks
    Attached Files Attached Files

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Excel Ranking with multiple conditions

    g3
    =SUMPRODUCT(--($C$3:$C$23=C3),--($E$3:$E$23=E3),--($F$3:$F$23<F3))+1 filled down
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-24-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel Ranking with multiple conditions

    Hi Martin,

    Thanks for your reply.

    Please find the attached master file. It was mismatched with your formula. Kindly check and let me know asap.

    Regards
    Ahamed



    Quote Originally Posted by happyahamed View Post
    Hi,

    I have an excel file with the attached format. Now i want to put rank for the event. Here I am manually put the rank (rank 1 Only) on the last field.

    Please can you give the formula instead of manual?

    THanks
    Attached Files Attached Files

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    2,261

    Re: Excel Ranking with multiple conditions

    =(SUMPRODUCT(($C$3:$C$166=C3)*($F$3:$F$166>F3))+1)+COUNTIFS($F$3:F3,F3,$C$3:$C3,C3)-1


    Azumi
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-24-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel Ranking with multiple conditions

    Thank you so much.

  6. #6
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Excel Ranking with multiple conditions

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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] Dynamic Ranking based on Conditions
    By compd1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2013, 07:30 AM
  2. How to perform ranking based on several conditions?
    By omnri in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2011, 02:33 PM
  3. Ranking based on 3 conditions
    By kimm in forum Excel General
    Replies: 10
    Last Post: 12-28-2010, 09:31 AM
  4. Ranking a list with conditions
    By ACEMAN3131 in forum Excel General
    Replies: 4
    Last Post: 12-06-2010, 09:01 PM
  5. Replies: 1
    Last Post: 12-05-2010, 04:39 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