Hands-On Excel Dynamic arrays and pivots

Excel pivot table and dynamic array exercises

Seven exercises on summarising a list: UNIQUE, FILTER, SORT, GROUPBY and WRAPROWS formulas that spill their results into the cells below, and pivot tables built from fields, with a report filter. Each runs on an Excel-style sheet in your browser and is checked: any correct formula passes, typed-in results don't.

7 lessonsAbout 21 minutesBy Updated

The 7 exercises

Each one is a short task on an Excel-style sheet in your browser, free and without sign-up. The checker looks at the result, so any formula that gets it right passes, and a wrong one gets the reason.

  1. One of each, then the totals UNIQUE, Core, 3 min

    UNIQUE lists each value in a range once, and the list fills the cells below by itself.

  2. Rows that match FILTER, Advanced, 3 min

    FILTER returns the rows of a range that meet one or more conditions, and the list spills into the cells below.

  3. Sorted, unique list in one formula SORT + UNIQUE, Advanced, 3 min

    SORT returns a range in order by one of its columns, and it can sort the list another function returns.

  4. Revenue by region in one formula GROUPBY, Advanced, 3 min

    GROUPBY lists each group once with a total for it, like a small pivot table that lives in one formula.

  5. One long column into a table WRAPROWS, Advanced, 3 min

    WRAPROWS cuts one long column into rows of a set length, so a list of records becomes a table.

  6. Your first pivot table Pivot tables, Core, 3 min

    A pivot table totals a list by category without a single formula: you build it by choosing fields.

  7. Slice the pivot Pivot table filters, Advanced, 3 min

    A pivot table's Filters area shows the table for one item of a field at a time, such as one region, without adding a line per item.

Do module 12 in order, step by step, in the courseAll 126 exercises

FAQ

What is a dynamic array in Excel?
A formula that returns more than one value. Excel puts the results in the cells below and to the right of the formula, and resizes that area when the result grows or shrinks.
Should I learn pivot tables or GROUPBY?
Both answer "total per group". A pivot table is quicker to rearrange and works in every version; GROUPBY updates by itself and sits in a report like any formula. GROUPBY is also missing from every Excel version you buy once, 2024 included.
Do these functions work in Google Sheets?
UNIQUE, FILTER, SORT and WRAPROWS exist there, some with different arguments, and Google Sheets has pivot tables. Check each guide for the differences.