STDEVPA Function
Population standard deviation that also counts text and logicals as numbers.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| value1 | The first value, range, or reference in the population. | Required |
| value2 | Additional values, ranges, or references (optional). | Optional |
Basic Example
Population standard deviation of numeric values only
=STDEVPA(10,20,30,40,50)With only numbers present, STDEVPA returns the same result as STDEVP.
Advanced Examples
Example 1: Text and TRUE are counted
A range that mixes numbers, text, and a logicalText becomes 0 and TRUE becomes 1 before the calculation
=STDEVPA(10,20,30,TRUE,"apple")Example 2: Contrast with STDEVP on a reference
Ignoring non-numeric cellsSTDEVP ignores text and logicals inside a range
=STDEVP(A1:A5) where A1:A5 = 10,20,30,TRUE,"apple"How STDEVPA Works
STDEVPA coerces every argument to a number (text to 0, TRUE to 1, FALSE to 0), then computes the population standard deviation using the n denominator. Because it divides by n rather than n-1, it assumes the supplied values constitute the whole population.
Important Notes & Limitations
Counting text as 0 can distort the result if text cells are labels rather than true zeros.
Dividing by n assumes a full population; for a sample use STDEVA.
Requires at least one effective value, otherwise returns #DIV/0!.
Common Errors & Fixes
#DIV/0!No effective numeric values after coercion.Fix: Provide at least one value that evaluates to a number.
Larger spread than expectedText labels were coerced to 0, pulling the mean down.Fix: Use STDEVP when text cells should be ignored.
Download Practice File
STDEVPA
stdevpaPractice STDEVPA with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the STDEVPA function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps