Solved

Count rows that aren't blank in a column

Posted on 2013-01-31
5
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

717 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