+ Reply to Thread
Results 1 to 5 of 5

How to Count the Number of Cells Greater than Zero in a Filtered List?

  1. #1
    Registered User
    Join Date
    12-01-2008
    Location
    London
    Posts
    25

    How to Count the Number of Cells Greater than Zero in a Filtered List?

    Hello Excel Forum.

    Can anyone tell me the formula to put in Cell D1 that will state how many cells,when I apply my filters, are greater than zero?

    Attached example enclosed - with the desired filters applied already.

    The count in the filtered list is 10. But I want the count only where the value in the cell is greater than zero. In this example, the correct answer is 9, because there is a cell that is zero and I want to ignore the zero cells.

    Have tried every possible combination of functions (sumproduct/countif) but this is really beating me hands down.

    Many thanks
    denise
    London
    Attached Files Attached Files
    Last edited by denise001; 09-01-2011 at 11:27 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How to Count the Number of Cells Greater than Zero in a Filtered List?

    Try:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How to Count the Number of Cells Greater than Zero in a Filtered List?

    Assuming you are using 2007 or later this might do what you need witout filtering.

    Select from the drop-downs in B1 & C1

    In D1
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    12-01-2008
    Location
    London
    Posts
    25

    Re: How to Count the Number of Cells Greater than Zero in a Filtered List?

    Perfect NBVC! Works perfectly. Thank you very much.

    With a formula that long, I would have never got it - but I am pleased to say I did get close, as one of my attempts did include MIN(ROW). So thank you for your help. Appreciate your time.

    Quite a tricky one I thought!

    Thread set to SOLVED.

    Warm regards
    denise

  5. #5
    Registered User
    Join Date
    12-01-2008
    Location
    London
    Posts
    25

    Re: How to Count the Number of Cells Greater than Zero in a Filtered List?

    Hello Marcol

    Thank you so much for your solution. Appreciate your time on my behalf. Like your solution. I have saved this and NBVC solution. I will be using NBVC solution this time around.

    Quite a tricky problem initially I thought!
    best regards
    denise

+ 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