σIntermediate

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.

12 exercises0/12
Start practicing →

Try it yourself

A live spreadsheet. Type a formula and press Enter to check it.

Exercise 1 of 12MEDIAN

What are the median weekly sales across the ten stores?

Write your formula in the green cell, H2.

store-performance.xlsx
fx
1StoreRegionWeekly salesCustomersStaff
2DowntownNorth$48,200.001,6109Median sales
3RiversideSouth$35,750.001,2406
4HarborEast$52,900.001,78510
5HillcrestWest$29,400.001,0205
6LakesideNorth$41,300.001,3957
7Old TownSouth$38,650.001,3107
8AirportEast$61,200.001,95011
9ParkviewWest$33,100.001,1506
10Market StNorth$44,800.001,5007
11WestgateSouth$27,900.009805
12
13

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. 1

    Median

    Free

    What are the median weekly sales across the ten stores?

  2. 2

    Range

    Free

    What is the gap between the best and the worst store's weekly sales?

  3. 3

    Second largest

    Premium

    What are the weekly sales of the second-best store?

  4. 4

    Third smallest

    Premium

    What is the third-lowest number of weekly customers?

  5. 5

    Round a result

    Premium

    What are Downtown's weekly sales per staff member, rounded to whole dollars?

  6. 6

    Round up

    Premium

    Round Riverside's weekly sales up to the next $1,000 to set its target.

  7. 7

    Most common value

    Premium

    What is the most common number of staff in a store?

  8. 8

    Rank a value

    Premium

    Where does Lakeside rank for weekly sales, where 1 is the highest?

  9. 9

    Count above average

    Premium

    How many stores have weekly sales above the average?

  10. 10

    Largest in a group

    Premium

    What are the best weekly sales of any store in the South region?

  11. 11

    Percentiles

    Premium

    What weekly sales would put a store in the top 10%? Work out the 90th percentile.

  12. 12

    Standard deviation

    Premium

    How 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.00
  • LARGE

    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.00
  • RANK.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)returns3
  • MODE.SNGL

    The value that appears most often. Returns #N/A if no value repeats.

    MODE.SNGL(number1, [number2], …)

    Example

    =MODE.SNGL(E2:E11)returns7
  • STDEV.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. 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. 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$11 so every row is ranked against the same list.

  3. 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.