+ Reply to Thread
Results 1 to 2 of 2

Thread: Count items in column (column values generated by functions)

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    new york, usa
    MS-Off Ver
    Excel 2003
    Posts
    37

    Count items in column (column values generated by functions)

    I searched through the forums to get an answer but nothing appears to be related although I suspect that this might be simple and has been answered already.

    I'd like to count the cells with value (in my case numerical) and show the count in a cell at the end of the list. When I do this with the COUNT function it gives me the count of all the cells.

    Reason: [B]The column values are generated by functions. I'd like to get the count of only the cells with values. Thanks.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Count items in column (column values generated by functions)

    If as it seems you're saying COUNT is returning count of all rows in the range despite some cells "appearing" to be blank (ie no number) then I am guessing you're using a number/conditional format to hide 0.

    If so, try:

    =COUNTIF(A1:A100,"<>0")
    This assumes of course that 0 is never valid result.

    If the above is not the case post a sample file.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0