Excel statistics practice: MEDIAN, RANK, LARGE and STDEV
An average only tells part of the story. Using a table of weekly sales from ten stores, practice finding the median, the top and bottom values, a store's rank, the most common value, percentiles and the standard deviation.
Try it yourself
A live spreadsheet. Type a formula and press Enter to check it.
What are the median weekly sales across the ten stores?
Write your formula in the green cell, H2.
Click a cell to add it to your formula, drag to select a range, or click a column letter for the whole column.
All 12 statistics exercises
- 1→
Median
FreeWhat are the median weekly sales across the ten stores?
- 2→
Range
FreeWhat is the gap between the best and the worst store's weekly sales?
- 3→
Second largest
PremiumWhat are the weekly sales of the second-best store?
- 4→
Third smallest
PremiumWhat is the third-lowest number of weekly customers?
- 5→
Round a result
PremiumWhat are Downtown's weekly sales per staff member, rounded to whole dollars?
- 6→
Round up
PremiumRound Riverside's weekly sales up to the next $1,000 to set its target.
- 7→
Most common value
PremiumWhat is the most common number of staff in a store?
- 8→
Rank a value
PremiumWhere does Lakeside rank for weekly sales, where 1 is the highest?
- 9→
Count above average
PremiumHow many stores have weekly sales above the average?
- 10→
Largest in a group
PremiumWhat are the best weekly sales of any store in the South region?
- 11→
Percentiles
PremiumWhat weekly sales would put a store in the top 10%? Work out the 90th percentile.
- 12→
Standard deviation
PremiumHow spread out are weekly sales? Work out the sample standard deviation, rounded to whole dollars.
The statistics functions, with examples
Every example runs on store-performance.xlsx, the same sheet the exercises use, and the results are calculated from that data.
MEDIAN
The middle value once the numbers are sorted. One unusually high or low value barely moves it, unlike the average.
MEDIAN(number1, [number2], …)Example
=MEDIAN(C2:C11)returns$39,975.00LARGE
Returns the k-th largest value:
LARGE(range, 2)is the second highest. SMALL works from the bottom.LARGE(array, k)Example
=LARGE(C2:C11, 2)returns$52,900.00RANK.EQ
A value's position in a list, with 1 for the largest by default. Equal values share a rank.
RANK.EQ(number, ref, [order])Example
=RANK.EQ(C2, $C$2:$C$11)returns3MODE.SNGL
The value that appears most often. Returns #N/A if no value repeats.
MODE.SNGL(number1, [number2], …)Example
=MODE.SNGL(E2:E11)returns7STDEV.S
How spread out the values are around the average, for a sample. A bigger number means more variation.
STDEV.S(number1, [number2], …)Example
=STDEV.S(C2:C11)returns$10,628.37
Common mistakes
- 1
Relying on the average when the data is lopsided
A single very large value, like a flagship store, pulls the average up so it no longer describes a typical store. The median doesn't move much. When values are uneven, report the median, or both.
- 2
Not locking the list in RANK.EQ
Copy
=RANK.EQ(C2,C2:C11)down and the list moves with each row, so the ranks come out wrong. Use$C$2:$C$11so every row is ranked against the same list. - 3
Picking STDEV.S when you have every value
STDEV.S is for a sample of a larger group. If the data is the whole group, like every store you run, STDEV.P is the matching choice. The difference is biggest for short lists.