The request

From Mei Gonzalez, Buyer
Your goal
Click PivotTable and build a PivotTable at H1: category in Rows, revenue in Values summarised as a Sum. It fills H1:I8: one row per category and a Grand Total.
- Fill
H1:I8with the right valuesnot done yet
Your sheet
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | product | category | channel | revenue | ||||||
| 2 | 9933 | Harbor Oak Floor Mirror | Decor | web | 44.99 | ||||||
| 3 | 9933 | Tidewater Concrete String Lights | Outdoor | web | 379.00 | ||||||
| 4 | 9934 | Alder Linen Sideboard | Furniture | web | 440.30 | ||||||
| 5 | 9935 | Rowan Cashmere-Blend Throw Blanket | Textiles | marketplace | 17.99 | ||||||
| 6 | 9936 | Vale Enamel Bowl Set | Kitchen | web | 11.99 | ||||||
| 7 | 9937 | Fairhaven Brass Wall Sconce | Lighting | app | 756.00 | ||||||
| 8 | 9937 | Harbor Wool Knit Throw | Textiles | app | 28.99 | ||||||
| 9 | 9938 | Northfield Teak Charcoal Grill | Outdoor | web | 323.94 | ||||||
| 10 | 9938 | Ashford Linen Pendant Light | Lighting | web | 349.00 | ||||||
| 11 | 9938 | Weston Cashmere-Blend Quilt | Textiles | web | 155.94 | ||||||
| 12 | 9939 | Thatcher Oak Candle | Decor | web | 17.99 | ||||||
| 13 | 9940 | Tidewater Concrete String Lights | Outdoor | app | 322.15 | ||||||
| 14 | 9942 | Harbor Wool Knit Throw | Textiles | app | 221.77 | ||||||
| 15 | 9942 | Ridge Soy Wax Vase | Decor | app | 185.30 | ||||||
| 16 | 9942 | Weston Cashmere-Blend Quilt | Textiles | app | 88.37 | ||||||
| 17 | 9943 | Hazel Linen Throw Pillow | Textiles | marketplace | 20.99 | ||||||
| 18 | 9944 | Tidewater Concrete String Lights | Outdoor | web | 379.00 | ||||||
| 19 | 9944 | Monroe Glass Desk Lamp | Lighting | web | 59.98 | ||||||
| 20 | 9944 | Pine Glass Candle Holder Set | Decor | web | 25.99 | ||||||
| 21 | 9944 | Oakley Oak Bookcase | Furniture | web | 999.00 | ||||||
| 22 | 9945 | Maple Aluminum Patio Dining Set | Outdoor | app | 1,099.00 | ||||||
| 23 | 9945 | Sable Concrete Adirondack Chair | Outdoor | app | 50.99 | ||||||
| 24 | 9945 | Glen Stoneware Carafe | Kitchen | app | 243.96 | ||||||
| 25 | 9945 | Pine Cast Iron Carafe | Kitchen | app | 867.00 | ||||||
| 26 | 9945 | Pine Glass Candle Holder Set | Decor | app | 25.99 | ||||||
| 27 | 9946 | Marlow Concrete Charcoal Grill | Outdoor | app | 187.98 | ||||||
| 28 | 9946 | Delancey Brass Vase | Decor | app | 19.99 | ||||||
| 29 | 9946 | Monroe Glass Desk Lamp | Lighting | app | 119.96 | ||||||
| 30 | 9946 | Harbor Acacia Solar Lantern | Outdoor | app | 1,156.00 | ||||||
| 31 | 9946 | Delancey Cashmere-Blend Duvet Cover | Textiles | app | 169.00 | ||||||
| 32 | 9946 | Ridge Brass Bud Vase | Decor | app | 25.98 | ||||||
| 33 | |||||||||||
| 34 | |||||||||||
| 35 | |||||||||||
| 36 | |||||||||||
| 37 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
What Mei gets, and why
The lesson
A PivotTable turns a long table into a short summary without a single formula. You tell it which field to group by and which numbers to add up; it finds every distinct value, adds up each group and puts a total underneath. In Excel it lives under Insert → PivotTable.
Rows and Values
Every PivotTable answers a sentence like “revenue per category”. The two halves map to two boxes:
| Box | What goes in | Here |
|---|---|---|
| Rows | the field you group by: one row per distinct value | category |
| Values | the numbers to summarise for each group | revenue, as a Sum |
The sheet holds the 31 completed order lines from June 18 in A1:E32. Click PivotTable under
the grid, pick category for Rows and revenue for Values, and keep “Summarise values by” on
Sum. The table appears at H1, where the ticket asked for it.
In Excel you make the same choices by dragging fields into the boxes of the PivotTable Fields pane, after choosing the source range and “Existing worksheet: H1” in the Create PivotTable dialog.
Reading the result
category Sum of revenue
Decor 346.23
Furniture 1,439.30
Kitchen 1,122.95
Lighting 1,284.94
Outdoor 3,898.06
Textiles 703.05
Grand Total 8,794.53
Three things to notice:
- the categories are sorted A→Z, not by size. Excel does the same; you can sort by value later;
- the value header names the summary: Sum of revenue. Switch to Count and it says Count of revenue;
- Grand Total is the sum of every line, which is also the sum of the category rows.
Outdoor brings in 3,898.06, almost half the day, from 8 lines. A buyer reads that as “patio season is here”.
Layouts and refresh
Excel’s default layout (“compact form”) labels the first column Row Labels. This sheet shows the field name instead, which is what you get in Excel with Design → Report Layout → Show in Tabular Form. The numbers are identical.
One honest difference: here the PivotTable recalculates as soon as the data changes. In Excel and Google Sheets a pivot does not update by itself when you edit the source. You press Refresh (Alt+F5 in Excel), and if you added rows below the data you also widen the source range, or format the data as a table first (Ctrl+T) so it grows on its own.
Common mistakes
- Numbers in Rows.
revenuein Rows lists every distinct amount. Rows is for labels. - Forgetting to refresh. A pivot that looks right but was built before the last data fix is the most common stale number in a monthly report.
- Including a total row in the source. If the export ends with a “Total” line, the pivot counts it as one more record and doubles the Grand Total. Keep the source to data rows only.
- Trusting Sum blindly. If a column holds numbers stored as text, Excel quietly switches the default to Count. Always read the value header.
Lantern lit!
Practised: pivot tablesrows fieldvalues fieldgrand total
- Solved
- No hints
- First run
