This article introduces the STDEV.S function, one of the commonly used statistical functions in Excel.

Description: The function returns the sample standard deviation, ignoring logical and text values. Standard deviation measures the spread of values around the mean. This function is supported from Excel 2010 onwards.
Syntax: STDEV.S(number1,[number2],...)
In this section:
- number1,[number2],...: These are the values for which you want to calculate the standard deviation. number1 is the required parameter, and the rest are optional, with a maximum of 254 parameters number.
Note:
- The STDEV.S function assumes its arguments are a sample of the entire population.
- Standard deviation computed using the “n -1” method.
- The argument can be a number, a name, or an array containing numbers.
- Directly typing logical values and presenting text numbers into function arguments -> these values are still calculated.
- Function throws error when arguments are text or values that cannot be converted.
To calculate both logical and textual values, use the STDEVPA function.
The formula for STDEV.S is as follows:
In which:
When calculating the average, remember x represents the sample mean AVERAGE(number1,number2,…).
Here, n stands for the sample size.
For example:
Calculate the standard deviation based on the sample values in the following dataset:

To find the standard deviation in Excel, enter the formula: =STDEV.S(D6:D10) at the desired cell.

Press Enter. The standard deviation based on the sample values will be calculated.

In cases where the values are text or logical, they will be ignored.

Here are instructions and some specific examples using the STDEV.S function in Excel.
Wishing you all the best in your endeavors!