Which function returns the standard deviation of a population including logical values and text?

Calculates the standard deviation based on an entire population given as arguments

What is the STDEV.P Function?

The STDEV.P Function[1] is categorized under Excel Statistical functions. STDEV.P will calculate the standard deviation that is based on an entire population given as arguments. It will ignore logical values and text.

As a financial analyst, the STDEV.P function can be useful in, for example, calculating deviations in revenue. Portfolio managers often use standard deviation to measure and keep track of their portfolios’ risks.

The STDEV.P function was introduced in MS Excel 2010 and, hence, is not available in earlier versions. However, the function is simply an updated version of the older STDEVP function.

Formula

=STDEV.P(number1,[number2],…)

The STDEV.P function uses the following arguments:

  1. Number1 (required argument) – This is the first number argument that corresponds to a population.
  2. Number2 (required argument) – This is another number argument that corresponds to the population.

Notes

  1. The given arguments must provide at least two numeric values to the function.
  2. The arguments should be between 1 and 255 numeric values, arrays of values, or references to cells containing numbers.
  3. Arguments can either be numbers or names, arrays, or references that contain numbers.
  4. The function is used when we want to calculate the standard deviation for a whole population. If we are calculating the standard deviation of a sample of a population, we need to use the STDEV.S function.

How to use the STDEV.P Function in Excel?

As a worksheet function, STDEV.P can be entered as part of a formula in a cell of a worksheet. To understand the uses of the function, let us consider an example:

Example 1

Suppose we are given a record of a business’ monthly sales figures over the last three years, as shown below:

Which function returns the standard deviation of a population including logical values and text?

For the standard deviation, the formula used is:

Which function returns the standard deviation of a population including logical values and text?

We get the results below:

Which function returns the standard deviation of a population including logical values and text?

The equation used for this is:

Which function returns the standard deviation of a population including logical values and text?

Where:

  • takes on each value in the set;
  • is the average (statistical mean) of the set of values;
  • is the number of values.

Things to remember about the STDEV.P Function 

  1. #DIV/0! error-– Occurs if none of the values that are supplied to the function are numeric. Text representations of numbers that are provided as a part of an array are not recognized as numeric values by the STDEV.P function.
  2. #VALUE! error – Occurs if any of the given values provided directly to the STDEV function are text values that cannot be interpreted as numeric values.
  3. The STDEV.P function is used in calculating the standard deviation for an entire population. If we wish to calculate the standard deviation of a sample population, we need to use the STDEV.S function.

Click here to download the sample Excel file

Additional Resources

Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial modeling and valuation analysis. To learn more, check out these additional CFI resources:

  • Excel Formulas for Finance
  • Advanced Excel Class
  • Advanced Excel Functions
  • Excel Shortcuts Cheatsheet

Article Sources

  1. STDEV.P Function

Which Excel function returns the population standard deviation?

The Excel STDEV function returns the standard deviation for data that represents a sample. To calculate the standard deviation for an entire population, use STDEVP or STDEV.

Which of the following functions will determine the standard deviation of a sample?

Which of the following functions will determine the standard deviation of a sample? STDEV. S calculates the standard deviation of a sample.

What function returns the variance of a population quizlet?

The VARPA function calculates the variance of a population for numerical values.

What function returns the variance of a population?

The Excel VAR. P function returns the variance in an entire population. If data represents a sample of the population, use the VAR. S function.