COUNT 
COUNT(value1 [,value2] [..]) 
Returns the number of values in a list, range or array. 
value1  The first value. 
value2  (Optional) The second value. 
REMARKS 
* For an illustrated example refer to the page under Advanced Functions * This function includes hidden cells. * Arguments that are just numbers are included. * Arguments that are just numbers passed as text ("3") are included. See Example 15. * Arguments that are just logical values are included. True evaluates to 1. False evaluates to 0. See Example 19. See Example 19. * Arguments that are just text are excluded. See Example 16. * Arguments that are references to empty cells are excluded. See Example 8. * Arguments that are references to cells containing zeros are included. See Example 9. * Arguments that are references to cells containing dates are included. See Example 12. * Arguments that are references to cells containing logical values are excluded. See Example 11. * Arguments that are references to cells containing text are excluded. See Example 10. * Arguments that are arrays containing logical values are excluded. See Example 20. * Arguments that are arrays containing text are excluded. See Example 17. * If any cell references contain an error, then that error is returned. See Example 14. * You can have a maximum of 255 arguments. * You can use the COUNTA function to include logical values and text. * You can use the COUNTBLANK function to return the number of blank cells. * You can use the COUNTIFS function to satisfy multiple conditions. * You can use the AGGREGATE function to exclude hidden cells. * You can use the COUNTBETWEEN  User Defined Function to return the number of cells that have a value that is between a range. * You can use the COUNTFORMAT  User Defined Function to return the number of cells that have a particular cell color or font color. * You can use the COUNTSUBSTRING  User Defined Function return the number of times a substring occurs in a larger text string. * You can use the COUNTVISIBLE  User Defined Function to exclude hidden cells. * This is similar to the AVERAGE, MAX, MIN and SUM functions. * For the Microsoft documentation refer to support.microsoft.com * For the Google documentation refer to support.google.com 

1  How many of these values are numerical. 2  How many of these values are numerical. 3  How many of these values are numerical. Zeros are always included. 4  How many of these values are numerical. 5  How many of the values in this array are numerical. 6  How many cells contain numerical values in the range "B1:B3". 7  How many cells contain numerical values in the range "B1", "B2" and "B3". 8  How many cells contain numerical values in the range "B1", "B2", "B3" and "B4". B4 is empty. Empty cells are always excluded. 9  How many cells contain numerical values in the range "B1", "B2", "B3" and "B5". B5 is zero so this gets included. 10  How many cells contain numerical values in the range "B1", "B2", "B3" and "B6". B6 is text so this gets excluded. 11  How many cells contain numerical values in the range "B1", "B2", "B3" and "B7". B7 is a logical value so this gets excluded. 12  How many cells contain numerical values in the range "B1", "B2", "B3" and "B8". B8 is a date so this gets included. 13  How many cells contain numerical values in the named range that refers to the range "B1:B3". 14  How many cells contain numerical values in the range "B5", "B6" and "B9". B9 contains an error so this gets excluded. 15  How many of these values are numerical (2, "3"). Text values that are actually numbers are included. 16  How many of these values are numerical (2, "some text"). Text values passed as arguments are excluded. 17  How many of the values in this array (2, "some text") are numerical. Text values inside arrays are excluded. 18  How many of the values (2, TRUE) are numerical. Logical values passed as arguments are included. 19  How many of the values (2, FALSE) are numerical. Logical values passed as arguments are included. 20  How many of the values in this array (2, TRUE) are numerical. Logical values inside arrays are excluded. 
© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited Top