The Excel STDEVA function estimates the standard deviation of a sample, but unlike STDEV.S it includes text and logical values — counting TRUE as 1, FALSE and text as 0.
Syntax
| Argument | Description | |
|---|---|---|
value1 | Required | The first value, array, or range. Logical and text values are included in the calculation. |
value2, ... | Optional | Up to 254 additional values, arrays, or ranges. |
How to use it
STDEVA works like STDEV.S (sample standard deviation, dividing by n−1) but differs in what it counts. It evaluates logical and text values instead of skipping them:
The counting rules are: TRUE = 1, FALSE = 0, and text (including empty text) = 0. Each of these adds to the count of data points, which changes the result. Truly empty cells are still ignored.
Watch the zeros: because text and FALSE count as 0, a range with labels mixed in can pull the standard deviation in unexpected directions. Use STDEV.S if you want text and logicals skipped entirely.
Try it: interactive demo
Pick a STDEVA example to see the formula and its result.
Practice workbook
Frequently asked questions
How is STDEVA different from STDEV.S?
How does STDEVA treat TRUE, FALSE, and text?
When would I use STDEVA?
Does STDEVA divide by n or n-1?
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