+ Reply to Thread
Results 1 to 2 of 2

Ranking Values, ignoring zeroes

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    Dallas,TX
    MS-Off Ver
    Excel 2010
    Posts
    21

    Ranking Values, ignoring zeroes

    Hey guys,

    I am trying to values from lowest to highest. I want to ignore zeros and also the values can be negative. I am stuck and using the rank function does not work.

    For example:
    A: -3
    B: -1
    C: 0
    D: 1
    E: -5
    F: 0

    The rankings would then list E -> 1, A -> 2, B->3, D -> 4

    Help would be appreciated thanks. Sample excel attached
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Ranking Values, ignoring zeroes

    Please Login or Register  to view this content.
    In C1 and down,

    =IF(B1=0, "", SUMPRODUCT((B1>$B$1:$B$6) * ($B$1:$B$6<>0)) + 1)
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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