+ Reply to Thread
Results 1 to 4 of 4

Help with Ranking formula

  1. #1
    Registered User
    Join Date
    11-27-2011
    Location
    Illinois
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question Help with Ranking formula

    i have a sheet that ranks employee sales. It works fine, but i would like it to be capable of ranking persons with 0 sales at the bottom of the rank list, but rank everything else normally. Is this possible without using any VBA?
    my current formula is:
    Please Login or Register  to view this content.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Help with Ranking formula

    Is this what you mean

    =IF(R4<>0,RANK(R4,$R:$R,)+COUNTIF($R$4:R4,R4)-1,COUNT(R:R)-COUNTIF(R:R,0)+1)

  3. #3
    Registered User
    Join Date
    11-27-2011
    Location
    Illinois
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Help with Ranking formula

    well that formula produces repeat ranks. Also i should have mentioned that "I4" is the location of the 0 condition mentioned before.
    so where you plced "R4<>0" it would be "I4<>0".

    thank you for your response.

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Help with Ranking formula

    Quote Originally Posted by mttp1990 View Post
    well that formula produces repeat ranks.
    And is that what you wanted, your original request was not clear to me.

    Quote Originally Posted by mttp1990 View Post
    Also i should have mentioned that "I4" is the location of the 0 condition mentioned before.
    so where you plced "R4<>0" it would be "I4<>0".
    I used R4 because that is what you used in your formula, and you are ranking the values in column R, so I fail to see the relevance of I4.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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