The STDEVPA Function is categorized under Excel Statistical functions. It will calculate the standard deviation that is based on the entire population given as arguments. The function will ignore logical values and text.
As a financial analyst, the STDEVPA function can be used, for example, to calculate deviations in revenue. Portfolio managers often use standard deviation to measure and keep track of their portfolio’s risk level.
The STDEVPA function uses the following arguments:
Value1 (required argument) – This is the first number argument corresponding to a population.
Value2 (optional argument) – This is a number argument that corresponds to the population.
A few notes on the arguments
The given arguments must provide at least two numeric values to the function.
The arguments should be between 1 and 255 numeric values, arrays of values, or references to cells containing numbers. MS Excel 2007 or later versions allow us to enter up to 255 number arguments to the function. However, in Excel 2003, the function can only accept up to 30 number arguments.
Arguments can either be numbers or names, arrays, or references that contain numbers.
The STDEVPA function is used when we want to calculate the standard deviation for an entire population. If we are calculating the standard deviation of a sample, we need to use the STDEVA function or the STDEV function.
How to use the STDEVPA Function in Excel?
To understand the uses of the STDEVPA function, let’s look at an example:
Suppose we are given a record of the monthly sales figures of a business over the last three years, as shown below:
For standard deviation, the formula used is:
The equation used is:
x takes on each value in the set
x is the average (statistical mean) of the set of values
n is the number of values
We get the result below:
Remember here, the STDEVPA function will count logical values while calculating the standard deviation. The STDEVP function, however, ignores them.
Things to remember about the STDEVPA Function
For large sample sizes, STDEVA and STDEVPA return approximately equal values.
If we do not want to include logical values and text representations of numbers in a reference as part of the calculation, use the STDEVP function.
Thanks for reading CFI’s guide to the Excel STDEVPA function. By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional CFI resources:
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
Already have a Self-Study or Full-Immersion membership? Log in
Access Exclusive Templates
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.