Formualizer Docs

AVEDEV

Returns the average of absolute deviations from the mean.

AVEDEV provides a robust spread measure that is less sensitive to outliers than squared-error metrics.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=AVEDEV(number1, [number2], ...)

Arguments

ArgumentTypeRequiredDefault
number1number (range)Required—
number2number (range)Optional—

Accepts a variable number of arguments. Minimum: 1.

Remarks

  • Non-numeric values in referenced ranges are ignored.
  • Uses the arithmetic mean as the center point.

Error cases

  • Returns #NUM! when no numeric values are available.

Examples

Find the mean absolute deviation of 4, 8 and 12.

Formula =AVEDEV(4,8,12)

Expected result 2.66666666666667

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Pass one three-element array to compute the mean absolute deviation.

Formula =AVEDEV({4,8,12})

Expected result 2.66666666666667

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

The lone observation has zero distance from its own mean.

Formula =AVEDEV(7)

Expected result 0

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

A division error among 4 and 12 prevents computing the mean absolute deviation.

Formula =AVEDEV(4,1/0,12)

Expected result #DIV/0!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Average absolute deviation from scalar values

Formula =AVEDEV(2,4,6)

Expected result 1.33333333333333

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Average absolute deviation from a range

Formula =AVEDEV(A1:A4)

Input cells
A
11
21
33
45

Expected result 1.5

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

What center does AVEDEV use for deviations?

It computes absolute deviations around the arithmetic mean of included values.

Implementation

Engine source

On this page