Sum Property

The Sum property returns the sum of the data values in the column from which the statistics were calculated. Returns a Variant. This is a read-only property.

Syntax

object.Sum( Col )

 

Parameter Type Description
Col Long optional, default=1 (column A)

 

Example

This example demonstrates how to return the sum of data values in column C.

Debug.Print "Sum "; Stats.Sum(3)

 

Used by: WksStatistics object