Spreadsheets

Pivot Tables for Beginners: Summarize Data in Minutes

Pivot tables for beginners: learn what they do, how to make a pivot table from a simple list, and how to group and filter data without writing a single formula.

A pivot table turns a long list of rows into a short summary table. You drag fields into rows, columns and values, and the spreadsheet totals, counts or averages the data for you. To make one, you need a clean list with headers, then you insert a pivot table, pick the fields and choose how to calculate.

This guide uses a small sales list and takes you from the first click to grouping dates and filtering.

What a pivot table does

Suppose you have 500 rows of sales and want total sales by region. You could write a SUMIFS formula for every region. A pivot table does that for all regions at once, and lets you change your mind in seconds: by product, by rep, by month.

Here is the sample data used below:

RegionRepProductAmountDate
EastAnaBasic12002026-01-05
WestBenPro24002026-01-09
EastCaraPro18002026-02-12
WestDevBasic9002026-02-14
EastAnaPro21002026-03-20
WestBenBasic10002026-03-25

Prepare your data first

Pivot tables are only as good as the source list. Before you start:

  • Put a single header in row 1, and make each header unique and non-empty.
  • Keep one record per row and one kind of data per column.
  • Remove blank rows, subtotal rows and merged cells.
  • Make sure number columns hold real numbers and date columns hold real dates.

If your data is messy, work through how to clean data in a spreadsheet first. It takes minutes and prevents most pivot table problems.

How to make a pivot table

The menu names differ by app, but the steps are the same in most spreadsheet apps.

  1. Click any cell inside your data list.
  2. Choose the option to insert a pivot table, usually found in an Insert or Data menu.
  3. Confirm the source range, and choose to place the pivot table on a new sheet.
  4. In the field panel, you will see your column headers as draggable fields.
  5. Drag Region into Rows and Amount into Values.

You now have this:

RegionSum of Amount
East5100
West4300
Grand total9400

You can check the answer by hand: East is 1200 + 1800 + 2100, and West is 2400 + 900 + 1000.

The four areas of a pivot table

Every pivot table has the same four areas. Knowing them is most of the skill.

  • Rows: the categories listed down the left side.
  • Columns: the categories spread across the top.
  • Values: the numbers being calculated, such as a sum, count or average.
  • Filters: a field that narrows the whole table without appearing in it.

Move Product into Columns and you get a grid with regions down the side and products across the top, with each cell showing the total for that pair. Nothing is retyped. You are just rearranging.

Change what is calculated

By default, number fields are summed. You can change the calculation by opening the value field settings:

SettingAnswers the question
SumWhat is the total?
CountHow many rows are there?
AverageWhat is typical?
Min or MaxWhat is the smallest or largest?
Percent of totalWhat share is each group?

For example, switching Amount to Average gives the mean sale per region: East is 5100 divided by 3, or 1700. Adding the same field a second time lets you show a sum and an average side by side.

Group and filter data

Grouping and filtering are what make a pivot table feel powerful.

Group dates. Drag Date into Rows. Most apps let you right-click a date and choose to group it by month, quarter or year. Grouping by month would turn the sample into three rows, January, February and March, each with its total. This is the fastest way to build a trend by month.

Group numbers. You can bucket numbers into ranges, such as sales of 0 to 999, 1000 to 1999 and 2000 to 2999.

Group text. Select several items in a list, such as two regions, and group them under a new name like Total Territory.

Filter. Drag Rep into the Filters area and pick a single rep to see only their numbers. You can also filter inside Rows or Columns to hide items you do not need right now, or show only the top few by value.

Sort. Sort by the value column to put the largest groups first.

Keep it up to date

A pivot table is a snapshot of the source at the moment it was refreshed. If you add rows to the source list, use the refresh command, and check that the source range now includes them. A useful habit is to leave the pivot table on its own sheet and put a note there saying which range it reads from.

If you share the file, tell people the pivot table is generated. Typing over numbers inside a pivot table is usually not allowed, and edits belong in the source data. See spreadsheet best practices for ways to structure a workbook so reports and data stay separate.

When a formula is better

Pivot tables are best for exploring. When you need a number to land in a specific cell of a polished report, a formula like SUMIFS is often a better fit. Both approaches have a place, and you can use a pivot table to check your formulas. Read spreadsheet formulas every professional should know for the formula side.

To practice, open a list in Workbook and try rearranging the same data three ways.

Key takeaways

  • A pivot table summarizes a long list by the categories you choose, with no formulas.
  • Start with a clean list: one header row, one record per row, real numbers and real dates.
  • Drag fields into Rows, Columns, Values and Filters, and change the calculation to sum, count or average.
  • Group dates by month or quarter to see trends, and use filters to focus on one slice.
  • Refresh after the source changes.

Frequently asked questions

What is a pivot table in simple terms?

A pivot table is a tool that summarizes a long list of rows into a compact table. You choose which fields become rows, columns and values, and it adds, counts or averages the data for you.

Why is my pivot table not showing new data?

In most spreadsheet apps a pivot table does not always refresh by itself. Use the refresh command, and make sure the source range includes the new rows. Using a whole-column range or a table range helps.

Why does my pivot table count instead of sum?

Usually the number column contains some text or blank cells, so the app defaults to a count. Clean the column so every value is a real number, then change the value setting to sum.

Pivot table or SUMIFS: which should I use?

Use a pivot table for exploring and for many groupings at once. Use SUMIFS when you need a fixed, formula-driven result in a report layout you control.

Can a pivot table change my original data?

No. A pivot table reads from your source data and displays a summary. Your original rows are not edited, which makes pivot tables safe to experiment with.