+ Reply to Thread
Results 1 to 5 of 5

Rank data to INCLUDE zeros

  1. #1
    Registered User
    Join Date
    08-09-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    3

    Rank data to INCLUDE zeros

    Need the RANK function to include 0
    =RANK(B2,$B$2:$B$11,1) doesn’t pick up 0%
    Tried an IF
    =IF(B2>=0,RANK(B2,$B$2:$B$11,1),””)

    These are cells with a formula calculating a % result - really basic stuff. Works with all cells greater than Zero. Can’t understand why the RANK function seems to default to ignore ZERO - also tried RANK.EQ. Any solutions appreciated.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Rank data to INCLUDE zeros

    Are you sure the cell (or formula) contains zero and not ""?

    What is your formula?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-09-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    3

    Re: Rank data to INCLUDE zeros

    It contains “0” returned from an IFERROR

  4. #4
    Registered User
    Join Date
    08-09-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    3

    Re: Rank data to INCLUDE zeros

    Got it - just needed that little prod on my brain. Cheers.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Rank data to INCLUDE zeros

    Good stuff

+ 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] Rank formula to not include duplicates
    By jwillis07 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-29-2015, 06:18 AM
  2. [SOLVED] Editing a Macro to include multiple rows and include text formatting for leading zeros
    By missmea2005 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-04-2014, 09:50 AM
  3. Data Validation - Numeric to include "zeros"
    By pogieboy in forum Excel General
    Replies: 3
    Last Post: 08-27-2012, 09:43 AM
  4. Replies: 0
    Last Post: 08-17-2011, 10:12 AM
  5. Average Formula - Include zeros
    By arvin in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-07-2010, 02:09 PM
  6. Modifying the SMALL function to not include zeros?
    By thewrathful in forum Excel General
    Replies: 4
    Last Post: 12-09-2009, 04:46 PM
  7. RANK without zeros
    By BRISBANEBOB in forum Excel General
    Replies: 3
    Last Post: 02-22-2009, 08:55 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