STDEVA Function
Sample standard deviation that also counts text and logicals as numbers.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| value1 | The first value, range, or reference in the sample. | Required |
| value2 | Additional values, ranges, or references (optional). | Optional |
Basic Example
Sample standard deviation of numeric values only
=STDEVA(10,20,30,40,50)With only numbers present, STDEVA returns the same result as STDEV.
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
=STDEVA(10,20,30,TRUE,"apple")Example 2: Contrast with STDEV on a reference
Ignoring non-numeric cellsSTDEV ignores text and logicals inside a range
=STDEV(A1:A5) where A1:A5 = 10,20,30,TRUE,"apple"How STDEVA Works
STDEVA first coerces every argument to a number: numbers stay as-is, text (including empty text "") becomes 0, TRUE becomes 1 and FALSE becomes 0. It then computes the sample standard deviation with the n-1 denominator, so non-numeric entries increase both the sum and the count.
Important Notes & Limitations
Counting text as 0 can distort the result if text cells are merely labels, not true zero measurements.
Still requires at least two effective values, otherwise returns #DIV/0!.
The n-1 denominator still assumes a sample, not a full population (use STDEVPA for population).
Common Errors & Fixes
#DIV/0!Fewer than two effective numeric values after coercion.Fix: Provide at least two values that evaluate to numbers.
Larger spread than expectedText labels were coerced to 0, pulling the mean down.Fix: Use STDEV when text cells should be ignored.
Download Practice File
STDEVA
stdevaPractice STDEVA with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the STDEVA function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps