+ Reply to Thread
Results 1 to 4 of 4

Rank anything that doesnt equal zero

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Rank anything that doesnt equal zero

    Hi

    I am trying to ran a set of numbers, but within these numbers there are a large amount of zero's, this data will change each month as it depends on what month the user selects in the drop down.

    I have tried

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But this just ranks the zeros as 0 and still ranks anything less than zero as like 45,46,47 etc because its still counting all the cells its looking at.

    How can i make the formula only rank numbers that DO NOT equal 0?

    Any help is appreciated

    Cheers

    Dan

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Rank anything that doesnt equal zero

    Change the final zero to "", and maybe change the comparison to greater than if you want to avoid the negative values.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    05-24-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: Rank anything that doesnt equal zero

    may be try this

    =IF(H2<=0,0,RANK(H2,$H$2:$H$50))
    Click on * below if you find this helpful

    Thanks,
    A

  4. #4
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: Rank anything that doesnt equal zero

    Hi

    Thanks it works now

    Dan

+ 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. RANK - Non unique values, contiguous rank required
    By PaulBo in forum Excel General
    Replies: 9
    Last Post: 02-20-2014, 10:34 AM
  2. equal ranks - Rank by second column
    By Bradz85 in forum Excel General
    Replies: 5
    Last Post: 12-24-2009, 06:16 AM
  3. [SOLVED] Can I Rank on a second criteria if the first is equal?
    By CohenRB in forum Excel General
    Replies: 3
    Last Post: 06-23-2006, 09:00 AM
  4. sorting with RANK/VLOOKUP (problem with equal ranks)
    By hip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2006, 02:50 AM
  5. Replies: 1
    Last Post: 08-15-2005, 05:05 PM

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