Microsoft Windows SharePoint Services
HomeBackForwardPrint

COUNT

COUNT

Counts the number of arguments that contain numbers.

Syntax

COUNT(value1,value2, ...)

Value1, value2, ...   are 1 to 30 arguments that can contain or refer to a variety of different types of data, but only numbers are counted.

Remarks

Example

Col1Col2Col3Col4Col5Col6Col7Formula Description (Result)
Sales12/8/2008 1922.24TRUE#DIV/0!=COUNT([Col1],[Col2],[Col3],[Col4],[Col5],[Col6],[Col7]) Counts the number of arguments that contain numbers in the list (3)
   1922.24TRUE#DIV/0!=COUNT([Col4],[Col5],[Col6],[Col7]) Counts the number of arguments that contain numbers in the last 4 rows of the list (2)
Sales2/8/2008 1922.24TRUE#DIV/0!COUNT([Col1],[Col2],[Col3],[Col4],[Col5],[Col6],[Col7],2) Counts the number of arguments that contain numbers in the list, and the value 2 (4)
©2003 Microsoft Corporation. All rights reserved.