Basic Functions
Intermediate

MOD to pick every n-th item

A remainder of zero marks every fifth, tenth or hundredth row.

Task:

Quality control samples every fifth order. In B2:B9 show Sample for orders whose number divides exactly by 5, and Skip for the rest.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

9 rows × 2 columns8 cells you fill in
AB
1Order no.QC
21003
31004
41005
51006
61009
71010
81011
91015
What this exercise teachesMay contain the answer

Sampling by order number rather than by row position means the choice survives sorting and filtering: order 1010 is always sampled, wherever it sits. MOD = 0 is the standard test for "is a multiple of".