Course / Statistics & Ranking

Percentiles and quartiles

Find the time most deliveries beat, measure the middle half of your data, and flag the slow ones. Intermediate · 5 min · PERCENTILE, QUARTILE, Interquartile range, IF

An average can't tell you how many people waited a long time. Percentiles can. The 90th percentile is the value that 90% of the data sits at or below.

The gap between quartile 1 and quartile 3 is the interquartile range (IQR): how spread out the middle half of your data is.

Steps

  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)

  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.

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

  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.

Remember

Previous: Mean, median and mode · Next: Standard deviation and z-scores