- Advanced Excel Functions Tutorial
- Advanced Excel Functions - Home
- Compatibility Functions
- Advanced Excel Functions - Cube
- Database Functions
- Date & Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Advanced Excel Functions - Logical
- Lookup & Reference Functions
- Math & Trignometric Functions
- Statistical Functions
- Useful Resources
- Quick Guide
- Useful Resources
- Discussion
Statistical - STDEV.P Function
Description
The STDEV.P function calculates standard deviation based on the entire population given as arguments (ignores logical values and text).
Syntax
STDEV.P (number1, [number2]...)
Arguments
Argument | Description | Required/ Optional |
---|---|---|
Number1 | The first number argument corresponding to a population. | Required |
Number2 ... |
Number arguments 2 to 254 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas |
Optional |
Notes
STDEV.P uses the following formula −
$$\sqrt{\frac{\sum \left ( x-\bar{x} \right )^2}{n}}$$
Where x is the sample mean AVERAGE (number1, number2…) and n is the sample size.
STDEV.P assumes that its arguments are the entire population. If your data represents a sample of the population, then compute the standard deviation using STDEV.
For large sample sizes, STDEV.S and STDEV.P return approximately equal values.
The standard deviation is calculated using the "n" method.
Arguments can either be numbers or names, arrays, or references that contain numbers.
Logical values, and text representations of numbers that you type directly into the list of arguments are counted.
If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored.
Arguments that are error values or text that cannot be translated into numbers cause errors.
If you want to include logical values and text representations of numbers in a reference as part of the calculation, use the STDEVPA function.
If none of the values that are supplied to the function are numeric, STDEV.P returns the #DIV/0! Error.
If any values that are supplied directly to the Function are text values that cannot be interpreted as numeric values, STDEV.P returns the #VALUE! Error.
Applicability
Excel 2010, Excel 2013, Excel 2016