DSTDEV Function
The DSTDEV function in Google Sheets estimates the standard deviation of a sample from a specified field of a database that meets given criteria.
Syntax
DSTDEV(database, field, criteria)
database
: The range of cells that make up the database.field
: The column number or header name containing the values to evaluate.criteria
: The range of cells that contain the conditions for estimating the standard deviation.
Examples
- Basic Example
Estimate the standard deviation of values in field 3 of the database A1:C10 where criteria are in E1:E2:
=DSTDEV(A1:C10, 3, E1:E2)
- Using Header Names
Estimate the standard deviation of values in the ‘Scores’ column where criteria are in G1:G2:
=DSTDEV(A1:C10, "Scores", G1:G2)
Notes
- Useful for understanding variability in a sample dataset.