MENU
Donate

Free ebook

Free ebook: Pivot Tables from Zero

A complete beginner walkthrough for building your first PivotTable: rows, columns, values, and filters, grouping dates, changing how values summarize, slicers, sorting, and keeping it fresh when your data changes. Real practice data throughout.

Get the ebook

Course path

Turn this into a course path

Pivot Tables strings lessons like this one into a structured, intermediate-friendly path.

View course path

Free tools

There's a free tool for this

Formula builder, formula explainer, CSV cleaner, and 8 more browser tools — no upload, no sign-up.

Browse free tools

Templates & data

Want to practice this yourself?

Free .xlsx templates and practice datasets — direct download, no sign-up.

Browse templates & datasets

Tip

Looking for something specific?

Search finds functions, articles, courses, and directory entries from one box — the icon lives in the header.

Try search
=ARTICLES

Pivot tables vs formulas for summarising data: which to use?

=YOUTUBE

Watch alongside this article

Public YouTube resources matched to this article's topic, functions, and practice goal.

Both pivot tables and formulas can summarise data — count rows, sum by category, find averages. The right tool depends on how the output will be used and how often the analysis needs to change.

What a pivot table does that formulas cannot

A pivot table is an interactive summary. You drag fields into rows, columns, and values, and it builds the structure for you. Changing the view — grouping by a different field, adding a filter, seeing totals by quarter instead of month — takes seconds. No formulas to rewrite.

Pivot tables also handle things that would require long formula chains:

  • Grouping dates by month, quarter, or year automatically
  • Showing top 10 values in a field
  • Percentage of total, running total, rank within a group — all built-in
  • Cross-tabulating two fields (rows by months, columns by region)

For any analysis you expect to adjust, explore, or share with someone who needs to filter it: use a pivot table.

When formulas are the better fit

Formulas are better when the summary needs to live inside another structure — a dashboard, a report template, or a workbook where the output position has to stay fixed.

A SUMIFS or COUNTIFS formula in a cell stays in that cell. A pivot table expands and contracts as it refreshes, which can push adjacent cells around. If a chart, a named range, or another formula depends on a fixed position, formulas are safer.

Formulas are also better when:

  • The logic requires a condition a pivot table cannot express (partial text match, a formula-derived criterion)
  • The workbook will be shared with people who should not be able to accidentally reshape the summary
  • The output is a single number, not a table

The quick test

Can you describe what you want in one sentence — “total sales by region and month”? That is a pivot table. Does the result need to live in a specific cell that other things depend on, or does the condition require a formula? That is SUMIFS.

Both together

Many workbooks use both. A pivot table builds the summary; GETPIVOTDATA formulas pull specific numbers from it into a fixed-layout report. The pivot table handles the heavy lifting, and the formulas pin the output where it needs to be.

=PRACTICE

Go deeper with this skill

Use PivotTables to explore data quickly while keeping the source table clean and refreshable. For this article, the goal is to practice: When a pivot table is faster and more flexible than a formula-based summary, and when formulas are the better fit — a practical guide.

Practice workbook setup

Prepare a source table with headers, dates, categories, and numeric measures.

Practice workflow

  1. Convert the source data into an Excel Table before inserting the PivotTable.
  2. Build one simple summary first, then add filters, slicers, or grouping.
  3. Change value field settings and number formats so the result matches the question.
  4. Refresh after changing the source data and confirm new rows appear.

Quality checks

  • The source table has no blank header names or merged cells.
  • The PivotTable answers a specific question.
  • Filters and slicers are visible enough for readers to know what they are seeing.

Common mistakes

  • Building pivots from messy ranges instead of clean tables.
  • Forgetting to refresh after source changes.
  • Counting text fields when a numeric sum was expected.

Next actions

  • Add one slicer and one PivotChart to turn the summary into a small report.
  • Create a second PivotTable from the same source to answer a different question.

Formula focus: even if this workflow is not formula-heavy, add one check cell that confirms the final output still matches the source data.