+ Reply to Thread
Results 1 to 3 of 3

COUNTIF number is NOT zero.

  1. #1
    Registered User
    Join Date
    07-12-2014
    Location
    usa
    MS-Off Ver
    2010
    Posts
    24

    COUNTIF number is NOT zero.

    I need to count cells in a column that are not zero.

    The cells are formula results that could be positive or negative.

    COUNTIF(A1:A10)">0" should return a count of all cells above zero, but I have cells below zero that need to be counted also.

    There are cells with zero because that's what Excel puts in if you have a formula in the cell that is not yet realized because of no data in the calculated cells.

    Thanks.
    Brett

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: COUNTIF number is NOT zero.

    Try this

    COUNTIF(A1:A10,"<>0")
    Happy with my advice? Click on the * reputation button below

  3. #3
    Registered User
    Join Date
    07-12-2014
    Location
    usa
    MS-Off Ver
    2010
    Posts
    24

    Re: COUNTIF number is NOT zero.

    Quote Originally Posted by Crooza View Post
    Try this

    COUNTIF(A1:A10,"<>0")
    Computers are not my friend today. This is my third attempt at commenting on this. Copy and paste is becoming my friend!

    Crooza, I had entered exactly that in my formula bar, manually. It did not work. It created an error. I went back to the Formula tab and chose Statistical and filled in the necessary fields. The automatic generation looked identical to what I had entered manually, =COUNTIF(P991:p1508),"<>0", but this time it worked. Strange idiosyncrasies of software I guess.

+ 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. Countif using Wildcard * and number 1
    By southdaytona in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-27-2017, 03:48 PM
  2. COUNTIF to return number of values less than an iterating number?
    By DannyRedd in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-25-2013, 04:28 PM
  3. [SOLVED] Countif with split Number
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 05-09-2013, 06:07 PM
  4. Replies: 4
    Last Post: 12-09-2010, 06:57 AM
  5. Countif per ID number
    By MissPucca in forum Excel General
    Replies: 3
    Last Post: 04-02-2010, 03:45 PM
  6. Countif a number is between two numbers
    By autotim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2007, 11:05 AM
  7. [SOLVED] COUNTIF:number of worksheets
    By Slim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2006, 12:25 PM
  8. Replies: 3
    Last Post: 07-07-2006, 09:10 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