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
| Argument | Type | Required | Default |
|---|---|---|---|
x | number | Required | — |
mean | number | Required | — |
standard_dev | number | Required | — |
Remarks
standard_devmust be strictly greater than0.- Positive output means
xis above the mean; negative output means below. - Invalid numeric coercions propagate as spreadsheet errors.
Error cases
- Returns
#NUM!whenstandard_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?.