+ Reply to Thread
Results 1 to 4 of 4

Count cells (not value) greater than 0

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    47

    Count cells (not value) greater than 0

    I want to count the number of cells in a range, not the value within those cells - but only the number of cells that have a value greater than 0. what is that formula?

    I've attached a piece of the worksheet i am working on. I would like to insert that formula on cell AE4. Thank you for your help!
    Last edited by rwhite713; 07-08-2010 at 05:04 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Count cells (not value) greater than 0

    see COUNTIF in XL Help:

    =COUNTIF(K4:AC4,">0")

  3. #3
    Registered User
    Join Date
    10-24-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2013
    Posts
    3

    Unhappy Re: Count cells (not value) greater than 0

    I want to count the cells containing the lowest number but omitting any cells with zero...

    E.I Column A

    ROW 1 0
    ROW 2 51
    ROW 3 0
    ROW 4 46
    ROW 5 40
    ROW 6 0

    =IF(SUM(A1:A6)<>0,SUM(SMALL(A1:A6,{1,2,3,4,5,6})),0)
    This formula works for most instances depending on the position of the "0". It won't work for the above example..can someone help
    Last edited by CdnFillie; 10-27-2013 at 10:00 PM.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Count cells (not value) greater than 0

    CdnFillie, unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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