Leading the way in Microsoft Office Development
 Home|

Excel

|Word|PowerPoint|Consultancy|Feedback|Contact 
 Excel > Functions > Statistical > COUNT

 

COUNT(value1 [,value2] [,...])

 
 Returns the number of numeric values in a list or cell range.

 value1The first value.
 value2The second optional value.

 REMARKS
 
  • This function includes hidden rows.
     
  • Arguments that are numbers, dates, or text representations of numbers are counted.
     
  • Arguments that are text, logical values or errors are ignored.
     
  • Arguments that are empty cells are ignored. See Example 5.
     
  • If an argument is an array or reference, only numbers in that array or reference are counted. See Example 11.
     
  • Use this function to get the number of entries in a number field in a range (or array) of numbers.
     
  • Dates and formulas that evaluate to numbers will be included.
     
  • You can have a maximum of 30 arguments.
     
  • If you do not want to count any arguments that are text, logical values or errors you can use the COUNTA() function.
     
  • FORMATCOUNT() - Returns the number of cells that have a particular format.
     
  • Example 1 -
     
  • Example 2 -
     
  • Example 3 -
     
  • Example 4 -
     
  • Example 5 -
     
  • Example 6 -
     
  • Example 7 -
     
  • Example 8 -
     
  • Example 9 -
     
  • Example 10 -
     
  • Example 11 -

     EXAMPLES
     
     ABC
    1=COUNT(B1) = 0"Text"#DIV/0!
    2=COUNT(B2) = 114.3#REF!
    3=COUNT(B1:B3) = 27/1/197720
    4=COUNT(B1:B5) = 3""True
    5=COUNT(B1:C5) = 410 
    6=COUNT(B5,2) = 2  
    7=COUNT(10,5,TRUE) = 3  
    8=COUNT(10,5,FALSE) = 3  
    9=COUNT(10,5,FALSE,"some text") = 3  
    10=COUNT({1,2,3,4,5}) = 5  
    11=COUNT({1,2,3,4,5,"some text",TRUE}) = 5  
     

     Functions - C | Index - C | Office Online 2003 | Office Online 2007 

     Copyright © 2010 Better Solutions Limited. All Rights Reserved.Top