Returns a count of the number of values in a dataset.
COUNTA(value1, [value2, ...])
value1- The first value or range to consider when counting.
value2, ...- [ OPTIONAL ] - Additional values or ranges to consider when counting.
COUNTAis specified as taking a maximum of 30 arguments, Google Sheets supports an arbitrary number of arguments for this function.
COUNTAcounts all values in a dataset, including those which appear more than once and text values (including zero-length strings and whitespace). To count unique values, use
COUNTUNIQUE. To count only numeric values use
MODE: Returns the most commonly occurring value in a dataset.
DCOUNTA: Counts values, including text, selected from a database table-like array or range using a SQL-like query.
DCOUNT: Counts numeric values selected from a database table-like array or range using a SQL-like query.
COUNTUNIQUE: Counts the number of unique values in a list of specified values and ranges.
COUNTIF: Returns a conditional count across a range.
COUNTBLANK: Returns the number of empty cells in a given range.
COUNT: Returns a count of the number of numeric values in a dataset.
Andrew is a Docs and Sheets expert and author of this help page. Leave him feedback below about the page.