Monthly volatility with STDEV

Medium Math
Description
Hints 0/4
Solutions 2
–
Test case
1
2
3
Reset
Submit
fx
A
B
C
D
E
F
G
1
2
3
4
5
6
7
8
9
10
Loading interactive spreadsheet...
Preparing grid cells and formula calculation engine
○ Ready Enter formula in highlighted cells, then click Submit.

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)
The exercise data, as a table
ABD
1 MonthTicketsVolatility
2 Jan90
3 Feb90
4 Mar100
5 Apr110
6 May110

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.

  1. Target cell is D2
  2. The five monthly totals are B2:B6
  3. The function is STDEV, not STDEV.P — this is a sample of months
  4. 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

Related practice

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.