Skip to content
You Need To Understand This

PivotTables, and actually summarising

Answer "which region, which month, which product" questions in a minute instead of an afternoon — and know when a formula is the better tool.

20 minLevel 24 skills

What you keep: Can build a PivotTable to answer a grouped business question, and can tell when a formula is the right choice instead.

Worth reading first: Spreadsheets that do not lie to you, Cleaning the data nobody wants to clean. Not required — just easier.

The one idea

A PivotTable answers one shape of question:

What is the [sum/count/average] of [a number], broken down by [a category], filtered to [a subset]?

That is it. Revenue by region. Tickets by category by month. Average order value by segment. If your question fits that sentence, a pivot is the fastest correct route. If it does not, a pivot will fight you, and a formula is the better tool.

Learning pivots is mostly learning to hear that sentence inside a vague question.

In plain words

A PivotTable groups your rows and adds them up, without you writing anything.

At work

Drag the category to Rows, the number to Values, a second category to Columns for a cross-tab, and anything you want to restrict to Filters.

Technically

It is a group-by aggregation with an optional second grouping dimension — the same operation as SQL GROUP BY, driven by direct manipulation rather than syntax.

The four drop zones

Everything a pivot does comes from where you put a field.

ZoneWhat it doesPut here
RowsOne line per distinct valueThe thing you are comparing: region, product, month
ValuesThe number being aggregatedRevenue, quantity, ticket count
ColumnsSplits Values across the topA second dimension: quarter, channel — keep it small
FiltersRestricts the whole tableThings you want to exclude or focus on: year, status

The judgement is which category goes in Rows and which in Columns. Rule of thumb: the thing with many values goes in Rows, because a table can be long but should not be wide. Twenty products down the side and four quarters across the top is readable. The reverse is not.

Building one, from a question

The question: which region grew between Q4 and Q1, in net revenue?

Revenue by region and quarter

1 of 7
  1. Check the source is a clean table. Row 1 is headers, every column has a header, no blank rows, no merged cells. A pivot on a sheet with a missing header gives the error "The PivotTable field name is not valid" — that message means exactly one thing: an empty header cell.

The settings that matter

Refresh is not automatic. A pivot holds a cached snapshot. Change the source data and the pivot shows yesterday's answer until you right-click and Refresh. This is the single most common cause of "the numbers do not match".

If you added rows, refresh is not enough. The pivot points at a fixed range. New rows below it are outside that range. Fix it permanently by formatting your source as a Table (Ctrl+T) before creating the pivot — the range then grows on its own.

Change the aggregation. Right-click a value, then Summarize Values By, then Sum, Count, Average, Max or Min. Average order value is Average, not Sum divided by something you typed.

Show percentages. Right-click, then Show Values As, then % of Grand Total or % of Row Total. This is how "North is 34% of revenue" appears without a single formula — and being explicit about which base the percentage uses is exactly the discipline the next lesson is about.

In an office

A support lead is asked whether Tuesdays are really the worst day. Ticket export, pivot, day-of-week in Rows, count in Values. Forty seconds.

Tuesday is highest — but adding Category to Columns shows the whole difference is one category: password resets, on the day after the weekend. That is a fixable problem. "Tuesdays are busy" was not.

The second drag is where the value was. A pivot is cheap enough to keep asking.

If you're a student

You have your semester expenses in a sheet with date, category and amount. You want monthly spend by category.

Category in Rows, date in Columns grouped by month, amount in Values. What you usually learn is not the total — it is that one category you thought was small is 30% of the year, because each individual instance was small and there were a hundred of them.

When a formula is better

A pivot is the wrong tool more often than people expect.

  • When the result must update live inside a report. A pivot needs refreshing; SUMIFS recalculates instantly. Anything a manager opens without you should use formulas.
  • When you need one number in a sentence. A whole pivot to get one total is overkill. =SUMIFS(D:D, B:B, "North") is a single cell you can reference.
  • When the layout is fixed. A dashboard with a specific shape fights the pivot's own layout. Use formulas, or GETPIVOTDATA to pull values out of a pivot into a fixed layout.
  • When the logic is conditional in a way pivots do not express. "Revenue from customers whose first order was over a year ago" is not a group-by. It needs a helper column first — and once you add that column, the pivot works again.
  • When you need to show your working. A formula is readable. A pivot's logic lives in a dialog box nobody else will open.

Recommendation

The usual best answer is both: explore with a pivot until you know what the answer is, then rebuild the two or three numbers that matter as formulas in a report someone else can open safely.

Try this

A pivot of 900 sales rows shows "Count of Amount: 900" instead of a total. You switch it to Sum and get a number that is clearly too small.

What has happened, and what do you do?

Your challenge

Level 3 · Independent

Take a dataset of at least 200 rows with one numeric column and at least two categorical columns. Answer this in one pivot: which category contributes the most, and has its share of the total gone up or down between the first half of the period and the second?

Success criteria: your grand total ties to the source sum, the share is shown as a percentage of the correct base, and you can state the answer in one sentence without pointing at the screen.

What people usually get wrong

  • Forgetting to refresh. The pivot shows a cached answer. Right-click, Refresh, every time the source changes.
  • Pivoting a fixed range in a growing sheet. New rows are silently excluded. Format the source as a Table first.
  • Accepting "Count of" when you meant Sum. A count of 900 and a sum of 900 look nothing alike, but a count of revenue can look like a plausible total.
  • Putting a high-cardinality field in Columns. Sixty products across the top is a table nobody reads.
  • Reading percentages without checking the base. % of Grand Total and % of Row Total answer different questions and look identical.
  • Sending the pivot instead of the answer. Your manager wanted a sentence. Give the sentence, attach the pivot.

How someone experienced does it

Experienced users add a helper column to the source rather than fighting the pivot. "Revenue band", "new vs returning", "days to ship" — one column of IF logic upstream turns an impossible pivot into an obvious one. When a pivot will not do what you want, it is almost always a missing column, not a missing feature.

They also build pivots to be thrown away. The exploratory pivot is scratch work; the deliverable is two or three numbers with a sentence attached. A workbook with eleven pivots hands the reader your homework instead of your conclusion.

And they check the row count first. A pivot on 40 rows produces a beautifully grouped table where each cell rests on three observations. It looks authoritative at any sample size, which is exactly why the next lesson exists.

When not to use this

Do not use a pivot when the same summary is needed every month by someone else. Pivots break when columns move, need manual refreshing, and hide their logic. A formula-driven summary sheet survives handover; a pivot usually does not.

And do not pivot data you have not cleaned. It will happily give you seven rows for one region and make the split look like a finding.

Why the pivot shows old numbers after you edit the source

A PivotTable does not read your data live. On creation, Excel builds a cached copy — the PivotTable cache — and every drag, group and filter afterwards works on that cache, not the sheet. That is why rearranging fields across thousands of rows is instant.

The cost is staleness. Edit a source value and the pivot reports the cached figure until refreshed. Two pivots on the same range can even share one cache, so refreshing one updates both — convenient until you wanted them different.

The rules follow: refresh before reading any number off a pivot, and if rows were added, confirm the source range covers them. In PivotTable options you can set the cache to refresh when the file opens, which removes most of the risk in a workbook other people will use.

Prove it

Take one real business or personal question of the form "X by Y", build the pivot, and write the answer as a single sentence with the number and the comparison in it.

Then delete the pivot and rebuild the same number with SUMIFS. If the two disagree, you have learned something important about one of them.

Open the proof task →

Keep learning this

Paste this into any AI assistant. It turns the assistant into a tutor that tests you instead of just answering you.

Tutor prompt
Act as an experienced practitioner who is good at teaching. I have just learned building a PivotTable to answer a grouped business question. Assume I am intelligent but relatively new to this — treat me as beginner level.

Work through this in order, and wait for my reply at each step:

1. Ask me 5 questions that test whether I actually understood building a PivotTable to answer a grouped business question. Do not reveal the answers yet.
2. After I answer, tell me which parts I got right, which I got wrong, and which I only half-understand. Explain only what I misunderstood — do not re-teach what I already know.
3. Give me one practical challenge based on something I could genuinely encounter at work or in daily life. Do not solve it for me.
4. Evaluate my solution the way an experienced person would judge it, including what a professional would have done differently.
5. Tell me what to learn next, and why that comes next.
6. Give me trustworthy sources for deeper study — prefer official documentation, primary research or standards bodies over blogs and videos.

Rules for you: no buzzwords. No motivational filler. Say "I'm not certain" when you are not certain, and tell me which parts of your answer I should verify myself. Clearly separate facts from your recommendations and your opinions.

Become independent at this

Use this when you want a path from where you are to actually good, with checkpoints you can test yourself against.

Independence prompt
I want to become independently capable at summarising a dataset with PivotTables and knowing when to use formulas instead — not permanently dependent on AI, tutorials or step-by-step guides.

Design a progression for me with five stages: Beginner, Guided practice, Independent practice, Real-world application, Professional level.

For each stage tell me:
- what I must know
- what I must be able to do without help
- the mistakes people make at this stage
- one practical challenge
- one real project that would prove I reached this stage
- one way I can test myself honestly

Then tell me the signals that I am ready to move to the next stage, and the signals that I have skipped ahead too early.

Keep the theory to the minimum I actually need. Focus on ability I can transfer to situations you and I have not discussed.

Sources

Live details on this page last checked . Pricing and free tiers change — check the official page before relying on them.

Where are you with this?

Be honest. Reading is not the same as being able to do it, and this record is only for you.

Related skills