STDEV.P Function

The STDEV.P function in Excel calculates a population's standard deviation providing insights into data variability.

Author: Rishit Danani
Rishit  Danani
Rishit Danani
Currently pursuing Bachelor's of Financial Markets (BFM) from H.R. College of Commerce and Economics.
Reviewed By: Austin Anderson
Austin Anderson
Austin Anderson
Consulting | Data Analysis

Austin has been working with Ernst & Young for over four years, starting as a senior consultant before being promoted to a manager. At EY, he focuses on strategy, process and operations improvement, and business transformation consulting services focused on health provider, payer, and public health organizations. Austin specializes in the health industry but supports clients across multiple industries.

Austin has a Bachelor of Science in Engineering and a Masters of Business Administration in Strategy, Management and Organization, both from the University of Michigan.

Last Updated:October 19, 2023

What is the STDEV.P function?

The STDEV.P function, also known as STDEVP, belongs to the Excel Statistical functions category. It offers a reliable method to calculate the standard deviation for a complete population, disregarding logical values and text.

This function is particularly valuable for financial analysts, as it aids in evaluating deviations in revenue and helps portfolio managers assess the risk associated with their portfolios.

In statistical analysis, the standard deviation is a crucial measure that helps us understand the spread or variability of data within a population. Excel provides the STDEV.P function, which calculates the standard deviation based on the entire population given as arguments.

The STDEV.P function was introduced in Microsoft Excel 2010, making it unavailable in earlier versions. However, it essentially serves as an updated version of the older STDEVP function, offering improved accuracy and reliability in standard deviation calculations.

The Standard Deviation of a Population function in financial analysis proves invaluable when measuring and monitoring revenue deviations.

By calculating the standard deviation of revenue data, analysts gain insights into the level of fluctuation and potential risks associated with revenue streams.

Portfolio managers also rely on standard deviation as a crucial metric for evaluating the risk and volatility of investment portfolios. Using the Standard Deviation of a Population function enables you to perform accurate standard deviation calculations quickly and efficiently. 

You can make informed decisions, find out outliers, and learn more about the underlying trends and patterns if you understand how many data points are present in a population.

This comprehensive article will explore the STDEV.P formula in-depth, providing clear explanations, practical examples, and step-by-step instructions.

We will also discuss essential points to keep in mind to optimize your usage of the STDEV.P function, discuss common mistakes to avoid, troubleshoot issues you may encounter, and explore related formulae that complement the standard deviation analysis.

Key Takeaways

  • The STDEV.P function in Excel calculates a population's standard deviation providing insights into data variability.
  • It is beneficial in financial analysis for evaluating revenue deviations and assessing portfolio risk.
  • The syntax of this function follows the format "=STDEV.P(number1, [number2], ...)".
  • The Standard Deviation of a Population function helps in informed decision-making, identifying trends, and assessing risks associated with a population.
  • Following best practices, such as using numeric values and considering the variability within a population, ensures reliable results when using this function.

Syntax of STDEV.P Function 

To use the Standard Deviation of a Population function, you need to understand its syntax and parameters.

The syntax of the STDEV.P function is as follows:

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

The syntax of this Function in Excel has the following arguments,

  • Number 1 (required argument) refers to the first number argument in the data set corresponding to a population.
  • Number 2 (optional argument) refers to the second argument in the data set corresponding to a population. 
    • A single array or a reference to an array may be used instead of arguments broken down by commas.

Note

While using the STDEV.P formula, up to 254 arguments can be included.

The Excel versions earlier than the 2010 versions had the STDEVP Function; however, since the 2010 version, the STDEVP Function has been replaced by STDEV.P; now, the new version, like the earlier versions, performs the same function as its predecessor.

The return value of the Syntax of this statistical function is the estimated standard deviation.

In interpreting a standard deviation, an account should be taken of the fact that there is more variability or dispersion in the population with higher standard deviations. By contrast, the lower standard deviation indicates less variability at data points closer to the mean.

This function can be applied to several areas, such as financial services, economics, quality control, research, and others, where the identification of variations in population is important for analysis and decision-making.

This information holds significant value when it comes to making a well-informed choice, recognizing patterns or trends, and evaluating the degree of risks and uncertainties associated with a particular population.

Using Excel's Standard Deviation of a Population function will provide valuable insight into data variability.

Examples of STDEV.P Function 

We just discussed the syntax and components of the Standard Deviation of a Population Function in Excel; now, let's look at some examples to understand how the function works in Excel.

Let us take a look at Example 1:

Spreadsheet showing the example with numbers.

Let's have a look at the data provided in the picture above. Here the Numbers between 100 and 1000 are given from Cell B4 to B20 (B4:B20).

Spreadsheet showing the data in a column.

In this picture, it can be seen that the data in the number column is used as the number1 argument in the syntax of STDEV.P. We use the following formula in Cell E3 to arrive at the result, 

=STDEV.P(B4:B20)

Spreadsheet showing the data after applying the STDEV.P Function.

Now, in this last picture, it can be seen that after applying the STDEV.P Function in cell E3 we arrive at the Standard Deviation of the Population, which is 223.3915.

For Example 2:

In the second example above, the data shows the income of 21 employees, 7 each working in primary (C4:C10), secondary (F4:F10), and tertiary sectors (I4:I10). The data given in the “Income” column will be subject to our Standard Deviation calculation.

Here, we apply the STDEV.P Formula in cell C13 like the picture above, to get the desired result for the standard deviation of a population.

In the above picture, it can be seen that after applying the standard deviation of a population formula, we arrive at the result for the standard deviation of employees across the primary, secondary, and tertiary sectors, which is 241.0255.

The standard deviation of 241.0255 is quite large relative to the range of the data (822 units), suggesting that the data points are spread out widely from the mean. This implies that the values within the dataset deviate significantly from the average value.

Considering the context, a high standard deviation of 241.0255 indicates that the data points are widely scattered and do not cluster tightly around the mean. This variability suggests a higher level of uncertainty or diversity within the dataset.

Now, for example 3:

In the third example above, the data shows a person's income from passive investments across 5 years from 2018 to 2022. The data in the Income column in each of the 5 years is out data, which is subject to Standard Deviation calculation.

Here, after applying the STDEV.P Formula in Cells B17, D17, F17, H17, and J17 for their respective Income column, and getting the standard deviation for a particular year as shown in the cells above.

Here, the standard deviation across the years is smaller, suggesting a lower variability among incomes over the years.

When comparing multiple datasets, a smaller standard deviation implies that the data points are closer to the mean and have less variability, while a larger standard deviation suggests greater variability and wider spread.

In this step, like the preceding examples, we use the Standard Deviation of a Population formula as shown in Cell B20 above to achieve the Standard Deviation of his income across the 5 years.

This step shows the result after applying the Standard Deviation Formula; the result is 297.2884663.

By observing and understanding the 3 examples above, one can easily understand how the STDEV.P Function works in Microsoft Excel.

STDEV.P Function: Points to Remember 

While using the Standard Deviation of a Population function, it's essential to keep in mind a few points that can help you utilize the function more effectively and avoid potential issues:

  1. STDEV.P helps to calculate the standard deviation for the population. If one has to find out the standard deviation for different data, then one can use STDEV or STDEV.S function accordingly.
  2. The arguments can be made either by hard coding data or by using cells referencing individual cells and a range of cells.
  3. Always recheck all the arguments in the syntax, especially while using this function in conjunction with other functions.
  4. If the function isn't working properly, one must check that you are using the latest version of the Standard Deviation of population formula, which is STDEV.P, and not STDEVP, which is an older function.
  5. The STDEV.P, as well as STDEV.S, will return similar values for larger sizes.
  6. The arguments in the syntax can be numbers, names, arrays, or cell references.
  7. This function uses the following formula,  

     √Σ (x – μ)2 / N

    Where, 

    1. Σ refers to the Sum
    2. refers to the Value of the data 
    3. μ refers to the Mean of the Population
    4. refers to the number of observation 
  8. The return value will be #DIV/0! when none of the matters supplied to the function are numeric, if the input contains text representations of numbers within an array, those values are not recognized as numeric.
  9. The return value will be #VALUE! if any of the values provided directly to the function are text values that cannot be interpreted as numeric values since the function excepts numerical input.
  10. Only numbers in an array or a reference are counted if the argument is an array or a reference. The empty cells, logical values, texts, and errors in an array or reference are not considered.

Mastering the STDEV.P function in Excel can enhance your data analysis capabilities, make more accurate assessments, and drive informed decision-making processes.

STDEV.P Function FAQs

 

Researched and Authored by Rishit Danani | Linkedin

Reviewed & Edited by Ankit Sinha | LinkedIn

Free Resources

To continue learning and advancing your career, check out these additional helpful WSO resources: