+ Reply to Thread
Results 1 to 3 of 3

Rankif with 2 criteria

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Berlin/Sweden
    MS-Off Ver
    Excel 2010
    Posts
    124

    Rankif with 2 criteria

    Since Microsoft forgot to do a Rankif function I need to do this manually.

    I need to rank values according to two criteria. It's basically like the normal Rank function but in the reference part in needs to rank within specified ranges. I included a simplified example, but hopefully it should illustrate the point.

    I was experimenting with sumproduct but it's a lot of data so I coudn't get it right...

    Appreciate the help!
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Rankif with 2 criteria

    hi Jonathan. maybe:
    =COUNTIFS(B:B,B4,C:C,C4,D:D,">"&D4)+1

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Berlin/Sweden
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Rankif with 2 criteria

    Quote Originally Posted by benishiryo View Post
    hi Jonathan. maybe:
    =COUNTIFS(B:B,B4,C:C,C4,D:D,">"&D4)+1
    Haha! It worked I sat a long time with that formula. Thanks!

+ 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] Rankif with 2 criteria
    By huy_le in forum Excel Formulas & Functions
    Replies: 40
    Last Post: 04-15-2014, 03:33 PM
  2. [SOLVED] Rankif Question
    By huy_le in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-18-2014, 07:23 PM
  3. Replies: 4
    Last Post: 01-08-2013, 12:37 PM
  4. Rankif?
    By Lee Harris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-20-2007, 05:28 AM
  5. Is there a rankif function
    By Dan in forum Excel General
    Replies: 3
    Last Post: 05-27-2005, 01:05 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