Google Sheets COUNTA function

This post will guide you how to use Google Sheets COUNTA function with syntax and examples in Google Spreadsheet.

Description

The Google Sheets COUNTA function counts the number of cells that are not empty in a range. And it returns the number of non-blank cells within a range or values. It can be used to count all the cells in a range that contain numbers, text, logical values, error values and empty text string.

The COUNTA function is a build-in function in Google Spreadsheet and it is categorized as a Statistical Function.

Syntax

The syntax of the COUNTA function is as below:

= COUNTA(value1, [value2],…)

Where the COUNTA function arguments are:

  • value1 -This is a required argument.  The first item, cell reference, or range within which you want to count numbers.
  • Value2 – This is an optional argument. You can enter up to 255 value arguments.

Note:

  • The COUNTA function does not count empty cells.
  • If you want to only count cells that contain numbers, just use the COUNT function.
  • If you want to count logical values, text, or error values, you can use the COUNTA function.

Google Sheets COUNTA Function Examples

The below examples will show you how to use Google Sheets COUNTA Function to count the number of cells in a range that are not empty.

#1 To count the number of cells in the range B1:B4, just using the following excel formula:

=COUNTA(B1:B4)

google sheets COUNTA function1

See Also:

  1. Add Row Numbers And Skip Blanks in Google Sheets
Related Posts

Google Sheets MAX function
google sheets MAX function1

This post will guide you how to use Google Sheets MAX function with syntax and examples in Google Spreadsheet. Description The Google Sheets MAX function returns the largest numeric value from the numbers that you provided. Or returns the largest value in ...

Google Sheets AVERAGEIFS Function
google sheets AVERAGEIFS function1

This post will guide you how to use Google Sheets AVERAGEIFS function with syntax and examples in Google Spreadsheet. Description The Google Sheets AVERAGEAIFS function returns the average of all numbers in a range of cells that meet multiple criteria. ...

Google Sheets AVERAGEIF Function
google sheets AVERAGEIF function1

This post will guide you how to use Google Sheets AVERAGEIF function with syntax and examples in Google Spreadsheet. Description The Google Sheets AVERAGEIF function returns the average of all numbers in a range of cells that meet a given ...

Google Sheets MIN Function
google sheets MIN function1

This post will guide you how to use Google Sheets MIN function with syntax and examples in Google Spreadsheet. Description The Google Sheets MIN function returns the smallest numeric value from the numbers that you provided. Or returns the smallest ...

Google Sheets LARGE Function
google sheets LARGE function1

This post will guide you how to use Google Sheets LARGE function with syntax and examples in Google Spreadsheet. Description The Google Sheets LARGE function returns the largest numeric value from the numbers that you provided. Or returns the largest ...

Add Row Numbers And Skip Blanks in Google Sheets
Add Row Numbers And Skip Blanks in google sheets1

Do you ever have to input a list of numbers into a spreadsheet in Google Sheets, and some of the cells are blank? It can be difficult to keep track of what number is in which cell when you have ...

Google Sheets COUNT Function
google sheets COUNT function1

This post will guide you how to use Google Sheets COUNT function with syntax and examples in Google Spreadsheets. Description The Google Sheets COUNT function counts the number of cells that contain numbers, and counts numbers within the list of ...

Google Sheets AVERAGE Function
google sheets AVERAGE function1

This post will guide you how to use Google Sheets AVERAGE function with syntax and examples in Google Spreadsheets. Description The Google Sheets AVERAGE function returns the average of the numbers that you provided. The AVERAGE function is a build-in function ...

Sidebar