Solved

Count rows that aren't blank in a column

Posted on 2013-01-31
5
256 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

776 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