Quick, clean, and to the point

Excel STDEVA Function

Excel STDEVA function

The Excel STDEVA function calculates standard deviation for a sample of data. Unlike the STDEV function, STDEVA will evaluate text and logicals that appear in references. To calculate standard deviation for an entire population, use STDEVPA or STDEV.P.

Get standard deviation in a sample
Return value 
Estimated standard deviation
=STDEVA (number1, [number2], ...)
  • number1 - First number or reference in the sample.
  • number2 - [optional] Second number or reference.
Usage notes 

The STDEVA function calculates the standard deviation for a sample set of data, evaluating text and logicals as numbers as part of the calculation. TEXT is evaluated as zero, TRUE is evaluated as 1, and FALSE is evaluated as zero.

Standard deviation is a measure of how much variance there is in a set of numbers compared to the average (mean) of the numbers. The STDEVA function is meant to estimate standard deviation in a sample. If data represents an entire population, use the STDEVPA function.

In the example shown, the formula in E5 is:


Standard Deviation functions in Excel

The table below summarizes the standard deviation functions provided by Excel.

Name Data set Text and logicals
STDEV Sample Ignored
STDEVP Population Ignored
STDEV.S Sample Ignored
STDEV.P Population Ignored
STDEVA Sample Evaluated
STDEVPA Population Evaluated


  • Only use STDEVA when you need to evaluate logicals or text in the standard deviation calculation.
  • STDEVA calculates standard deviation using the "n-1" method.
  • STDEVA assumes data is a sample. If data representations an entire population, use STDEVP or STDEV.P.
  • Values are supplied as arguments. They can be supplied as actual numbers, ranges, arrays, or references that contain numbers.
  • STDEVA evaluates logical values and/or numbers in supplied references. To ignore these values use STDEV or STDEV.S

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.