For the complete documentation index, see llms.txt. This page is also available as Markdown.

AVERAGEEXZERO

Calculates the average of values while excluding zeros to obtain more meaningful results when zero entries should not influence the overall calculation.

The AVERAGEEXZERO function returns the average (arithmetic mean) of a set of values while excluding any zero values from the calculation. The arguments can be numeric values or node references. This function is commonly used when zero values represent missing, irrelevant, or non-applicable data and should not affect the overall average, such as in performance analysis, financial reporting, or data evaluation scenarios.

Syntax

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

Arguments

value1 – The first cell value or number to average (Required).

value2,...– The additional cells or numbers to be averaged (Optional).

Example

AVERAGEEXZERO(COLUMN1, COLUMN2)

In the example below, the Average Values measure is created using the AVERAGEEXZERO function, which returns the average value of the four quarters while excluding any zero values.

The average is calculated excluding the zero values, as shown in the highlighted example.

Applying AVERAGEEXZERO function

Excel equivalent

AVERAGEEXZERO

Last updated

Was this helpful?