Solved

Count rows that aren't blank in a column

Posted on 2013-01-31
5
257 Views
Last Modified: 2013-01-31
I need to get a count of rows that are not blank in column X.  How do I do this?
0
Comment
Question by:saturation
5 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 38841257
It he column contains only numbers and blanks.

=COUNT(X:X)

If it contains text and/or numbers and blanks

=COUNTA(X:X)
0
 
LVL 4

Expert Comment

by:AllTrip
ID: 38841260
Count Blank Cells -- COUNTBLANK
The COUNTBLANK function will count cells that are empty. Its syntax is:
    =COUNTBLANK(range).
0
 
LVL 4

Expert Comment

by:AllTrip
ID: 38841273
Sorry read your question wrong.  That counts the blank cells, not the not blanks.
0
 
LVL 7

Expert Comment

by:CorinTack
ID: 38841286
NB_VC is correct, what your doing can be accomplished with the CountA function. This counts the number of cells in a given range that have items in them, excluding blank cells.
0
 

Author Closing Comment

by:saturation
ID: 38841290
Perfect.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question