This tutorial will show you how to use formulas in Calc to count blank and non-empty cells in LibreOffice Calc.
Sometimes you need to quickly find out how many cells have 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 containing any text, numbers, or even spaces) in the range.
Returns the number of empty cells in the cell range Range.
In the below example, there are five blank cells (yellow highlighted) in the range A1 to A10 and COUNTBLANK(A1:A10) returns 5.
Count non-empty cells
COUNTA(range) function to count the cells that are not blank or empty. It counts the cells that have some values – texts, numbers.
Returns the number of cells that have texts and numbers.
In the below example, COUNTA(A1:A10) returns five as there are five values present.
This way, you can count the blank and non-empty cells in LibreOffice Calc.
Drop a comment below with comments and questions.