Count Blank Non Empty Cells in Calc

This tutorial would show you how you can use some formula in Calc to count blank and non empty cells in LibreOffice Calc.

There are times, when you need to quickly find out how many cells are having text/numbers and how many cells are blank in a huge sheet with data. Here’s how you can do it.

Count blank cells

Use COUNTBLANK(range) function to calculate the blank cells. It returns the number of empty cells (i.e. not contains any text, numbers, even spaces) in the range.



Returns the number of empty cells in the cell range Range.

In below example, there are 5 blank cells (yellow highlighted) in the range A1 to A10 and COUNTBLANK(A1:A10) returns 5.


Count non empty cells

Use COUNTA(range) function to count the cells those are not blank or empty. It counts the cells that having some values – texts, numbers.



Returns the number of cells that having texts, numbers.

In below example, COUNTA(A1:A10) returns 5 as there are five values present.

SEE ALSO:  SUMPRODUCT Function with Examples in LibreOffice Calc

This way you can count the blank and non empty cells in LibreOffice Calc.

Official Reference


Drop a comment below with comments, questions. If you like this tutorial, don’t forget to subscribe for article updates using the subscribe box below.


Looking for something else?

Read our complete tutorial index of Calc, Writer, Impress and Draw.


Support Us

Be an expert on LibreOffice.

Small and quality tutorials. Delivered. Thrice a week.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top