Results 1 to 4 of 4

Count only filled, nonblank cells

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Count only filled, nonblank cells

    I'm having a problem with coming up with a good way to count nonblank cells. Excel doesn't seem to have that function. The ones I can find are:

    Count, which Counts Numbers
    Counta, which Counts Numbers, Text, and Formulas
    Countblank, which Counts "empty" cells

    The problem is, say I have a range of 5 cells containing a number in one cell, Text in another, a blank in the third, and formulas in the last two that trigger based on the value in A3, either with a text or number response, or "" to mean "nothing". None of the functions above can tell me how many cells actually have values in them at any given time. I need a COUNTA that DOESN'T count formulas.

    I've attached my sample book. The only solution I found that appears to work is this:
    =(ROWS(A1:A5) * COLUMNS(A1:A5))-COUNTBLANK(A1:A5)
    I'm wide open if there's another way to do it. Seems like a simple thing, but not for me.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count colors and nonblank cells
    By LostInAus in forum Excel General
    Replies: 1
    Last Post: 12-03-2006, 09:21 PM
  2. [SOLVED] Count NonBlank Cells
    By Lynn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2006, 06:25 PM
  3. [SOLVED] count 2 nonblank cells on multiple worksheets
    By April in forum Excel General
    Replies: 1
    Last Post: 04-18-2006, 04:15 AM
  4. [SOLVED] Count Nonblank Text Cells
    By TKrepitch@aol.com in forum Excel General
    Replies: 13
    Last Post: 03-02-2006, 02:25 PM
  5. [SOLVED] How create a nonblank source for a verification list with a mix of filled & empty cells?
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-08-2005, 03:05 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