Formualizer Docs

STDEV.S

Estimates sample standard deviation using n-1 in the denominator.

STDEV.S measures spread when your values represent a sample of a larger population.

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

=STDEV.S(number1, [number2], ...)

Arguments

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

Accepts a variable number of arguments. Minimum: 1.

Remarks

  • Requires at least two numeric values.
  • Non-numeric values in referenced ranges are ignored.

Error cases

  • Returns #DIV/0! when fewer than two numeric values are provided.

Examples

Find the sample standard deviation of 4, 8 and 12.

Formula =STDEV.S(4,8,12)

Expected result 4

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 sample standard deviation.

Formula =STDEV.S({4,8,12})

Expected result 4

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

Use 4 and 12, the minimum two observations for the sample standard deviation.

Formula =STDEV.S(4,12)

Expected result 5.65685424949238

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 lone observation cannot supply the denominator for the sample standard deviation.

Formula =STDEV.S(4)

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

Sample standard deviation from scalar arguments

Formula =STDEV.S(2,4,6)

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

Sample standard deviation from a range

Formula =STDEV.S(A1:A3)

Input cells
A
15
27
39

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

FAQ

Why does STDEV.S return #DIV/0!?

Sample standard deviation needs at least two numeric values.

Implementation

Engine source

On this page