The Excel STDEVPA function calculates the standard deviation of an entire population, including text and logical values — counting TRUE as 1, and FALSE and text as 0.
Syntax
| Argument | Description | |
|---|---|---|
value1 | Required | The first value, array, or range representing the population. Logical and text values are included. |
value2, ... | Optional | Up to 254 additional values, arrays, or ranges. |
How to use it
STDEVPA is the population counterpart of STDEVA. It computes the population standard deviation (dividing by n) while including logical and text values in the count.
The counting rules match STDEVA: TRUE = 1, FALSE = 0, and text = 0, each adding to the data count. The difference from STDEVA is only the divisor — n for the population versus n−1 for the sample.
Four-way grid: STDEV.P (population, numbers only), STDEV.S (sample, numbers only), STDEVPA (population, counts text/logicals), STDEVA (sample, counts text/logicals).
Try it: interactive demo
Pick a STDEVPA example to see the formula and its result.
Practice workbook
Frequently asked questions
How is STDEVPA different from STDEV.P?
How does STDEVPA treat TRUE, FALSE, and text?
What is the difference between STDEVPA and STDEVA?
When should I use STDEVPA?
Master functions like this in one day
This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class