COUNT Function
Count the cells that contain numbers. Each value argument is a value, a cell or a range, for up to 255 arguments. In a cell or range, only numbers count, including dates; text, logical values, errors and empty cells are ignored, even text that looks like a number. A value typed directly as an argument counts when it is a number, a logical value or text that represents a number.
Syntax
COUNT(value1, value2)
Category: Statistics. Minimum arguments: 1. Maximum arguments: 255.
Available for supported offline calculation.
Examples
=COUNT(B4:D6)
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.