For teachers / Answer key

Answer key: Sort and filter

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. Sort a table (Beginner, 3 min)

  1. The products are in no order at all. Click any cell in the Product column, such as A2, then Sort A to Z (the A→Z button in the toolbar).

    • A2:D11 Sort by column A, A to Z (smallest first)
  2. Which products cost the most? Click a cell in the Price column, such as C2, then Sort Z to A (the Z→A button in the toolbar).

    • A2:D11 Sort by column C, Z to A (largest first)
  3. What is about to run out? Click a cell in In stock, such as D2, then Sort A to Z (the A→Z button in the toolbar) to put the smallest numbers first.

    • A2:D11 Sort by column D, A to Z (smallest first)

2. Sort by two columns (Beginner, 4 min)

  1. Start with the less important column. Click a cell in Sales, such as C2, then Sort Z to A (the Z→A button in the toolbar).

    • A2:C13 Sort by column C, Z to A (largest first)
  2. Now the more important one. Click a cell in Region, such as A2, then Sort A to Z (the A→Z button in the toolbar).

    • A2:C13 Sort by column A, A to Z (smallest first)
  3. Your turn, the other way up: group the table by Region from Z to A, with the smallest sale first in each region.

    • A2:C13 Sort by column C, A to Z (smallest first); then sort by column A, Z to A (largest first)

3. Filter a table (Beginner, 4 min)

  1. Click any cell in the table, such as A2, then Filter in the toolbar.

    • A1:D13 Filter on, showing every row
  2. Show only the North region. Click the ▾ on Region, untick (Select all), tick North, and click OK.

    • A1:D13 Filter with column B: show North
  3. Filters on different columns work together. Keep North, and on Product show only Chair and Shelf.

    • A1:D13 Filter with column B: show North; column C: show Chair, Shelf
  4. Bring every row back, but leave the filter on. Open the ▾ on each heading that shows a funnel and click Clear.

    • A1:D13 Filter on, showing every row

4. Filter by numbers, then sort what shows (Intermediate, 4 min)

  1. Click a cell in the table, such as A2, and turn on Filter.

    • A1:D13 Filter on, showing every row
  2. Show only the large invoices. Open the ▾ on Amount, type 1000 in Numbers from, and click OK.

    • A1:D13 Filter with column C: from 1000
  3. Put them in order without leaving the table. Open the ▾ on Amount again and click Largest first.

    • A2:D13 Sort by column C, Z to A (largest first)
  4. Done with the filter? Click Filter in the toolbar again to turn it off.

    • A1:D13 Turn the filter off: click Filter in the toolbar