Skip to content
mentoor

Topic 3 of 5 · 4 min read

Asking for pivot tables and summaries

Goal: Request a pivot table by naming its rows, columns, measure and filter, then check one of its cells by hand.

Ask for a pivot table by naming four things: what goes in the rows, what goes in the columns, what you measure and how, and what to filter out. Then check one cell by hand.

Check yourself · 1 of 3

Which part is missing from this request: "Make a pivot table of revenue by region for 2025"?

Choose one answer

Why it matters

A pivot table turns a long list of transactions into a small summary, such as sales by region and month. Copilot in Excel and Gemini in Sheets can build one from a request. The weak point is the request. "Summarize my sales" can be answered in a dozen ways, and the assistant picks one. Often it is not the one you needed.

How to do it

  1. Rows. What do you want one line per? Region, product, salesperson.
  2. Columns. What do you want across the top? Month, quarter, year. Leave it out if you want a single column of totals.
  3. Measure. Which number, and how combined? The sum of revenue, the count of orders, the average order value. These are three different tables.
  4. Filter. Which rows should be ignored? Refunds, one year, one team, test orders.
  5. Order and format. Sort by the largest total? Show percentages of the whole?
  6. Check one cell. Pick one cell, filter the raw data to the same conditions and add it up yourself. If the two numbers differ, find out why.

Before and after

Before: Summarize my sales data.

After: Build a pivot table from the Orders sheet. Rows: region. Columns: quarter of 2025. Values: sum of the Amount column. Exclude rows where Status is 'Refunded'. Sort regions by total, largest first.

Now check one cell: North, Q2. Filter the Orders sheet to North, April to June 2025, not refunded, and add the amounts. The total must match the pivot cell.

What goes wrong

  • Count instead of sum. If a column has text in some cells, the tool may count entries and show 3,812 where you expect an amount of money.
  • The range misses new rows. The pivot was built on rows 1 to 2,000 and your data now runs to row 2,400.
  • Blank or inconsistent labels split a group. 'North', 'north ' and 'N.' appear as three regions. This is a cleanup problem that shows up in the pivot.
  • A filter you did not ask for. The assistant applied a date filter to make the table 'cleaner'. Read the filter area of the pivot.

A pivot table is a summary, not a source. When someone asks where a number came from, you should be able to point to the rows behind it.

Examples

Checking one cell

The pivot says North, Q2 = 184,300.

In the Orders sheet, filter Region = North, Date from 1 April to 30 June 2025, Status not 'Refunded'. Add the Amount column: 184,300. They match, so this cell is trustworthy. If the sum is 191,900, the difference of 7,600 is probably refunds that were not excluded.

A request that names all four parts

Rows: product category. Columns: none. Values: count of orders and sum of revenue. Filter: only 2025, no test orders (Customer = 'TEST'). Sort: by revenue, largest first.

The same data, asked for with only 'summarize by category', can return counts only, or revenue for all years.

Key points

  • A pivot request needs four parts: rows, columns, the measure with how it is combined, and the filter.
  • Sum, count and average of the same column give three different tables, so name which one.
  • Check at least one pivot cell by filtering the raw data and adding it yourself.
  • Read the pivot's filter and source range; assistants sometimes add or miss them.
  • Inconsistent labels in the data split one group into several pivot rows.

Common mistakes

  • Asking to 'summarize' without saying rows, columns, measure or filter.
  • Not checking whether the pivot counts or sums the column.
  • Trusting the pivot after new rows were added below its source range.
  • Never checking one cell against the raw data.

Check yourself · 2 of 3

A pivot shows 3,812 where you expected total sales in money. What is a likely reason?

Choose one answer

Check yourself · 3 of 3

What is the best way to verify one cell of a pivot table?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic