COUNT NON-EMPTY CELLS IN GOOGLE SHEETS

What Is Count Non-Empty Cells In Google Sheets ?

Count non-empty cells in Google sheets, as the name suggests, is a method used to count the number of cells with non-empty values. Non-empty cells are cells with data or values such as text, numbers, dates, formulas, pronunciations, symbols etc.,

Using COUNTA function, we can count the non-blank or non-empty cells in the data. We can also use other formulas such as COUNTIF and SUMPRODUCT, we can count the non-empty cells in Google sheets and Excel. For example, consider the below table showing values in column A.

COUNT-NON-EMPTY-CELLS-IN-GOOGLE-SHEETS-Definition

Now, let us use COUNTA function in Google sheets to count non-empty cells in the data. To start with, we need to insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:A6. Next, select the cell where we want to find the result. In this example, we need to select the cell A8.

Next, insert the COUNTA formula. So, the complete formula is =COUNTA(A2:A6). Press Enter key. We will be able to see the result in Google sheets in cell A8, as shown in the below image.

COUNT-NON-EMPTY-CELLS-IN-GOOGLE-SHEETS-Definition-Step-3

In this article, let us learn how to use functions in Google sheets to count the non-empty cells.

Key Takeaways
  • Count non-empty cells is a method used to count non-blank cells in Google sheets.
  • Non-empty cells refers to cells which are not empty. Text, numbers, symbols, punctuation marks and formulas are values containing non-blank cells.
  • We can use COUNTA, COUNTIF and SUMPRODUCT function with LEN function formula in Google sheets.
  • While using SUMPRODUCT with LEN function in Google sheets, we may get error if we don’t include correct arguments and parenthesis in the formula.
  • Similarly, remember to include double quotation marks with condition, “<>” in the COUNTIF function in Google sheets to count non-blank cells in the data.

How To Count Non-Empty Cells In Google Sheets?

In Google sheets, we can use the following formulas to count non-empty or non-blank cells. In other words, we can use the below functions to count cells with data.

The functions are:

  1. COUNTA function
  2. COUNTIF function
  3. SUMPRODUCT function with LEN function

We can count non-empty cells using the below steps.

The steps are:

Step 1: To start with, we need to insert the cell range in the spreadsheet. Next, select the cell where we want to find the result.

Step 2: Next, insert one of the formulas in Google sheets such as the COUNTA, SUMPRODUCT with LEN function and/or COUNTIF function formula in Google sheets.

Step 3: Press Enter key.

We will be able to see the result in Google sheets in the active cell.

Likewise, we can use various functions to count non-empty cells.

Examples

Now, let us learn how to use Count Non-Empty Cells In Google Sheets with examples.

Example #1 – Using The COUNTA Function

For example, consider the below table showing name and marks obtained in columns A and B, respectively.

COUNT-NON-EMPTY-CELLS-IN-GOOGLE-SHEETS-Example-1

Now, let us use COUNTA function to count non-empty cells in the data.

The steps are:

Step 1: To start with, we need to insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:B6. Next, select the cell where we want to find the result. In this example, we need to select the cell B8.

Step 2: Next, insert the COUNTA formula in Google sheets.

So, the complete formula is =COUNTA(A2:B6)

Example-1-Step-2

Step 3: Press Enter key.

We will be able to see the result in Google sheets in cell B8, as shown in the below image.

Example-1-Step-3

Likewise, we can use COUNTA function to count non-empty cells.

Example #2 – Using SUMPRODUCT Method

For example, consider the below table showing region and values in columns A and B, respectively.

COUNT-NON-EMPTY-CELLS-IN-GOOGLE-SHEETS-Example-2

Now, let us use SUMPRODUCT with LEN function in Google sheets to count non-empty cells in the data.

The steps are:

Step 1: To start with, we need to insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:B5. Next, select the cell where we want to find the result. In this example, we need to select the cell B7.

Step 2: Next, insert the SUMPRODUCT with LEN function formula in Google sheets.

So, the complete formula is =SUMPRODUCT(–(LEN(B2:B5)>0))

Example-2-Step-2

Step 3: Press Enter key.

We will be able to see the result in Google sheets in cell B7, as shown in the below image.

Example-2-Step-3

Likewise, we can use SUMPRODUCT with LEN function to count non-empty cells in Google sheets.

Example #3 – Using CONTIF Method

For example, consider the below table showing region and values in columns A and B, respectively.

COUNT-NON-EMPTY-CELLS-IN-GOOGLE-SHEETS-Example-3

Now, let us use COUNTIF function to count non-empty cells in the data.

The steps are:

Step 1: To start with, we need to insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:B5. Next, select the cell where we want to find the result. In this example, we need to select the cell B7.

Step 2: Next, insert the COUNTIF formula in Google sheets.

So, the complete formula is =COUNTIF(B2:B5,”<>”)

Example-3-Step-2

Step 3: Press Enter key.

We will be able to see the result in Google sheets in cell B7, as shown in the below image.

Example-3-Step-3

Likewise, we can use COUNTIF function to count non-empty cells.

In this article, we learned how to use Count Non-Empty Cells In Google Sheets with examples.

Important Things To Note

  1. Count non-empty cells in Google sheets can be achieved using default functions.
  2. Even space counts as a value in the data and is defined as non-blank cells.
  3. Remember, to non-empty cells are cells with data including text, numbers, symbols, pronunciation marks, etc.,

Frequently Asked Questions (FAQs)

1. Explain how to count non-empty cells with an example.

For example, consider the below table showing values in column A.

FAQ-1
Now, let us use COUNTA function in Google sheets to count non-empty cells in the data.
The steps are:
Step 1: To start with, we need to insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:A6. Next, select the cell where we want to find the result. In this example, we need to select the cell A8.
Step 2: Next, insert the COUNTA formula in Google sheets.
So, the complete formula is =COUNTA(A2:A6)
Step 3: Press Enter key.
We will be able to see the result in Google sheets in cell A8, as shown in the below image.
FAQ-1-Step-3
Likewise, we can use COUNTA function to count non-empty cells in Google sheets.

2. What is the difference between COUNTA and COUNTIF functions in Google sheets?

The difference between COUNTA and COUNTIF functions in Google sheets are:
• COUNTA function counts all non-blank cells in the data
• COUNTIF function counts data with a condition or criteria

3. What is the formula of COUNTA function in Google sheets?

The formula of COUNTA function in Google sheets is =COUNTA(range) where range is the only mandatory argument that shows the cell range which we want to count.

Download Template

This article must help understand the Count Non-Empty Cells In Google Sheets with its formula and examples. You can download the template here to use it instantly

Guide to What is Count Non-Empty Cells In Google Sheets. We learn how to count non-empty cells in different ways using detailed examples. You can learn more from the following articles. –

Conditional Formatting With Formulas In Google Sheets

EVEN Function In Google Sheets

VLOOKUP Partial Match In Google Sheets

Reader Interactions

Leave a Reply

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