For teachers / Answer key

Answer key: Statistics & Ranking

For teachers. This page is kept out of search engines and linked only from the teachers page. Students can see the same answers in a lesson with Show answer. Any formula that gives the right values counts.

1. RANK, LARGE and SMALL (Intermediate, 5 min)

  1. Your running club logs how far each member ran this month. In D2, rank Priya's distance against the whole list with =RANK(B2, $B$2:$B$13), then fill it down to D13.

    • D2:D13 =RANK(B2,$B$2:$B$13) then copy it across the range

    Shows D2: 5, D3: 9, D4: 2, D5: 12, D6: 7, D7: 4, and 6 more

  2. For race times, smaller is better. In E2:E13, rank the 5K times in column C so the fastest runner gets 1, by adding a third argument of 1: =RANK(C2, $C$2:$C$13, 1)

    • E2:E13 =RANK(C2,$C$2:$C$13,1) then copy it across the range

    Shows E2: 5, E3: 9, E4: 3, E5: 11, E6: 1, E7: 6, and 6 more

  3. Time for a podium. In H2, find the longest distance with =LARGE($B$2:$B$13, G2), using the place number in G2 as k. Fill it down to H4 for 2nd and 3rd place.

    • H2:H4 =LARGE($B$2:$B$13,G2) then copy it across the range

    Shows H2: 203, H3: 178, H4: 167

  4. The fastest times are the smallest numbers. In H7:H9, use SMALL on the 5K times in column C, with the place numbers in G7:G9 as k.

    • H7:H9 =SMALL($C$2:$C$13,G7) then copy it across the range

    Shows H7: 20.7, H8: 21.5, H9: 22.1

  5. A podium needs names. In I2, find the distance from H2 in B2:B13 and return the runner from column A: =INDEX($A$2:$A$13, MATCH(H2, $B$2:$B$13, 0)). Fill it down to I4.

    • I2:I4 =INDEX($A$2:$A$13,MATCH(H2,$B$2:$B$13,0)) then copy it across the range

    Shows I2: Oscar, I3: Aiyana, I4: Sienna

2. Mean, median and mode (Intermediate, 4 min)

  1. Eleven homes sold on Larch Close this year. In F2, work out the mean sale price of C2:C12.

    • F2 =AVERAGE(C2:C12)

    Shows F2: $457,518

  2. In F3, find the median, the middle price once the list is sorted: =MEDIAN(C2:C12)

    • F3 =MEDIAN(C2:C12)

    Shows F3: $312,450

  3. Buyers also want to know the usual house size here. In F6, use MODE on B2:B12 to find the most common number of bedrooms.

    • F6 =MODE(B2:B12)

    Shows F6: 3

  4. Nobody quotes house prices to the dollar. In G2, round the mean to the nearest thousand with =ROUND(F2, -3), then fill it down to G3 for the median.

    • G2:G3 =ROUND(F2,-3) then copy it across the range

    Shows G2: $458,000, G3: $312,000

3. Percentiles and quartiles (Intermediate, 5 min)

  1. Your bike courier co-op wants to promise a delivery time it can actually keep. In F2, find the time that 90% of the deliveries in B2:B17 came in at or under: =PERCENTILE(B2:B17, 0.9)

    • F2 =PERCENTILE(B2:B17,0.9)

    Shows F2: 39.00

  2. Quartiles cut the sorted times into four equal groups. In F3, find quartile 1 with =QUARTILE(B2:B17, 1), and in F4 find quartile 3.

    • F3 =QUARTILE(B2:B17,1)
    • F4 =QUARTILE(B2:B17,3)

    Shows F3: 22.75, F4: 30.25

  3. In F5, work out the interquartile range: quartile 3 minus quartile 1.

    • F5 =F4-F3

    Shows F5: 7.50

  4. Now flag the slow trips. In C2, show "Slow" when the time in B2 is above the 90th percentile in F2, and leave the cell blank otherwise: =IF(B2>$F$2, "Slow", ""). Fill it down to C17.

    • C2:C17 =IF(B2>$F$2,"Slow","") then copy it across the range

    Shows C2: (empty), C3: (empty), C4: (empty), C5: (empty), C6: (empty), C7: Slow, and 10 more

4. Standard deviation and z-scores (Advanced, 6 min)

  1. Twelve sourdough loaves were pulled from today's bake for a weight check. In G2, find their mean weight. Then, in G3, measure the spread with =STDEV(B2:B13).

    • G2 =AVERAGE(B2:B13)
    • G3 =STDEV(B2:B13)

    Shows G2: 800.6, G3: 22.9

  2. STDEV treats these 12 loaves as a sample of a bigger bake. If they were the entire batch, you would use STDEV.P instead. Try it in G4 and compare.

    • G4 =STDEV.P(B2:B13)

    Shows G4: 21.9

  3. The variance is the standard deviation before its square root is taken, measured in squared grams. In G5, find the sample variance with =VAR(B2:B13).

    • G5 =VAR(B2:B13)

    Shows G5: 522.4

  4. A z-score says how many standard deviations a loaf is from the mean. In C2, enter =(B2-$G$2)/$G$3 to lock the mean and the sample standard deviation, then fill it down to C13.

    • C2:C13 =(B2-$G$2)/$G$3 then copy it across the range

    Shows C2: 0.15, C3: -0.16, C4: 0.50, C5: -0.42, C6: 0.24, C7: -0.07, and 6 more

  5. A loaf more than 2 standard deviations from the mean, in either direction, is unusual. In D2:D13, show "Check" when the z-score is beyond ±2 and leave the cell blank otherwise: =IF(ABS(C2)>2, "Check", "")

    • D2:D13 =IF(ABS(C2)>2,"Check","") then copy it across the range

    Shows D2: (empty), D3: (empty), D4: (empty), D5: (empty), D6: (empty), D7: (empty), and 6 more