Formualizer Docs

STANDARDIZE

Returns the z-score of x relative to a mean and standard deviation.

STANDARDIZE computes (x - mean) / standard_dev.

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

=STANDARDIZE(x, mean, standard_dev)

Arguments

ArgumentTypeRequiredDefault
xnumberRequired—
meannumberRequired—
standard_devnumberRequired—

Remarks

  • standard_dev must be strictly greater than 0.
  • Positive output means x is above the mean; negative output means below.
  • Invalid numeric coercions propagate as spreadsheet errors.

Error cases

  • Returns #NUM! when standard_dev <= 0.

Examples

Express an observation four units above the mean on a standard-deviation scale.

Formula =STANDARDIZE(14,10,2)

Expected result 2

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?.

Compare with an observation the same distance below the mean.

Formula =STANDARDIZE(6,10,2)

Expected result -2

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?.

An observation equal to the mean has a standardized score of zero.

Formula =STANDARDIZE(10,10,2)

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 standard deviation of zero cannot serve as a divisor.

Formula =STANDARDIZE(14,10,0)

Expected result #NUM!

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?.

One standard deviation above the mean

Formula =STANDARDIZE(42,40,2)

Expected result 1

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?.

Exactly at the mean

Formula =STANDARDIZE(100,100,10)

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?.

Implementation

Engine source

On this page