Monthly volatility with STDEV
The problem
Problem statement
An ops analyst screen hands you five months of support-ticket volume in B2:B6 and asks a single question: how volatile is it? The standard deviation is the number they want — put it in Volatility cell D2.
Reference the range, not the individual cells, so the formula survives when another month is added.
Problem data
Show the sheet as a table (selectable, copyable)
| A | B | D | |
|---|---|---|---|
| 1 | Month | Tickets | Volatility |
| 2 | Jan | 90 | |
| 3 | Feb | 90 | |
| 4 | Mar | 100 | |
| 5 | Apr | 110 | |
| 6 | May | 110 |
Notes
STDEV treats the five months as a sample and divides the squared deviations by n−1, which is why it differs slightly from STDEV.P. It ignores text and blank cells, so a row labelled 'n/a' will not break it. A perfectly flat series returns 0 — that is a valid answer, not an error.
How to approach
Your answer goes in D2. On submit we re-run your formula against 3 different sets of input, so a hardcoded number will fail — the formula has to follow the cells.
- Target cell is D2
- The five monthly totals are B2:B6
- The function is
STDEV, notSTDEV.P — this is a sample of months - One argument is enough: the range itself
Official solutions
Show 2 solutions — try it yourself first
Approach 1: STDEV over the range
=STDEV(B2:B6)
STDEV averages the five values (100), squares each deviation, divides by n−1 (four) and takes the square root — 10. No helper column needed.
Approach 2: SQRT of the variance
=SQRT(VAR(B2:B6))
VAR is the variance (100), and the standard deviation is its square root. Same number, and it makes explicit that volatility is a distance measured in the same units as the data — tickets, not tickets squared.
Function guide
FAQ
What is the difference between STDEV and STDEV.P?
STDEV (also written STDEV.S) assumes the values are a sample and divides by n−1; STDEV.P assumes you have the whole population and divides by n. With five months out of a longer history, the sample version is the honest choice.
Why does STDEV return 0?
Every value in the range is identical, so there is no deviation to measure. Zero volatility is a real result, not an error.
Do text and blank cells break STDEV?
No. STDEV ignores cells that contain text or nothing at all, so a stray 'n/a' or an empty future month will not skew the result.