COUNT macro
The COUNT macro
is available only in HCL®
Campaign.
Syntax
COUNT(data) Parameters
data
The
cell range to count the number of cells in. This can be a constant
value, a column, a cell range, or an expression evaluating to any
of the above. For the format definition of data,
see the "Macro Function Parameters" section in the chapter
in this guide for your HCL
product.
Description
COUNT counts
the number of values in the specified data range. It returns a new
column containing a single value representing the number of cells
containing values within the specified data range.
Examples
TEMP = COUNT(AVG(V1:V5))
Creates a new column named |
TEMP = COUNT(V1) Creates
a new column named |
TEMP = COUNT(V1:V3) Creates
a new column named |
TEMP = COUNT(V1[10:20])
Creates a new column named |
TEMP = COUNT(V1[1:5]:V4)
Creates a new column named |
TEMP = COUNT(V1[1:10])
Creates a new column named |
Related functions
| Function | Description |
|---|---|
SUM or TOTAL |
Computes the sum of a range of cells |