Excel function reference

STDEV / PERCENTILE / CORREL

Quick answer

Three more statistics functions: how spread out a dataset is, the value at a given percentile, and how strongly two sets of numbers move together.

STDEV(number1, [number2], ...) · PERCENTILE(array, k) · CORREL(array1, array2)

STDEV measures how far values typically sit from the average: a small STDEV means a tightly clustered dataset, a large one means wide variation even alongside the exact same average, which is why an average alone can hide a genuinely unreliable process. PERCENTILE(array,0.5) gives the same answer as MEDIAN, since the median is exactly the 50th percentile; it's the function to reach for whenever a cutoff other than the middle is actually needed, like "the bonus threshold is the top 10%." CORREL returns a number from -1 to 1: close to 1 means the two sets move up and down together, close to -1 means they move in opposite directions, and close to 0 means little relationship at all. A strong correlation is not proof that one thing causes the other.

Syntax

STDEV(number1, [number2], ...) · PERCENTILE(array, k) · CORREL(array1, array2)
ArgumentDescription
number1, ...STDEV: Required. The values, cells, or ranges to measure the spread of.
array, kPERCENTILE: Required. The dataset, and which percentile to return (0 to 1, e.g. 0.9 for the 90th percentile).
array1, array2CORREL: Required. Two equal-sized ranges to measure the relationship between.

A real example: setting a bonus threshold at the top 10%

A sales dataset where the bonus cutoff is defined as the top 10% of results, not simply the single highest number:

=PERCENTILE(A2:A6,0.9)

The k argument is a fraction from 0 to 1, not a percentage out of 100: 0.9 for the 90th percentile, not 90, which is the detail that trips up this formula most often on a first attempt.

Worked examples

How consistent a set of measurements is
A
1Reading
210.1
39.9
410.3
59.8
=STDEV(A2:A5) → 0.221736
The 90th-percentile value, for a bonus cutoff
A
1Sales
2100
3150
4200
5250
6300
=PERCENTILE(A2:A6,0.9) → 280
How closely two series move together
AB
1Ad spendSales
2100012000
3150015000
4200019000
=CORREL(A2:A4,B2:B4) → 0.996616

Common mistakes

  • Reading a small average alongside a large STDEV and assuming the data is reliable. The average alone hides how spread out the real values are.
  • Confusing PERCENTILE's k argument with a percentage out of 100. It's a fraction from 0 to 1: 0.9, not 90, for the 90th percentile.
  • Treating a strong CORREL result as proof of cause and effect. It only shows the two sets tend to move together, not that one is causing the other.

Related functions

Try it yourself

A free, graded practice exercise using this exact function: instant feedback, no signup required.

Practice STDEV / PERCENTILE / CORREL →