Median Property

 

The Median property returns the median of the data values in the column from which the statistics were calculated. Returns a variant. This is a read-only property.

 

Syntax

object.Median( Col )

 

Parameter

Type

Description

Col

Long

optional, default=1

 

Example

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

 

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

 

Used by: WksStatistics object