The STDEV.S function returns the sample standard deviation of the values contained in a column.
STDEV.S(
ColumnName
)
- ColumnName: Column for whose values you want to calculate the standard deviation.
The STDEV.S function returns a real number.
The function uses the following formula:
√ [∑ (x - x̃) ² / (n-1)]
where x̃ is the mean value of x for the population sample and n is the sample size.
Empty cells are not considered in the calculation.
If the column contains less than two non-empty cells, the function returns an error.
Suppose we have the following sales list that includes the number of items sold and their unit price:
We can calculate the standard deviation of prices -assuming that it is a sample of the population- with the following measure:
Desviación estándar = STDEV.S(Ventas[Precio])
...which, taken to a card-like display, returns the following result: