ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. Pivot Tables in Excel: A Beginner's Guide

Pivot Tables in Excel: A Beginner's Guide

By ExcelReady Team·Updated October 30, 2026·5 min read

The short answer

A pivot table summarizes a long table in a few clicks, without formulas. Click a cell in your data, choose Insert > PivotTable, and click OK to put it on a new sheet. Then drag fields into Rows, Columns and Values: Region in Rows and Sales in Values gives total sales for each region.

Key takeaways

  • Your data needs one header row, one record per row and no blank rows or columns.
  • Insert > PivotTable creates the pivot; the PivotTable Fields pane builds it.
  • Rows makes one line per item, Columns one column per item, and Values holds the numbers to summarize.
  • Value Field Settings switches the summary from Sum to Count, Average, Max or Min.
  • A pivot doesn't update by itself: refresh it after the data changes.
On this page+
  1. What is a pivot table?
  2. Get your data ready first
  3. How to create a pivot table
  4. Pivot table Excel basics: rows, columns, values and filters
  5. Example: total sales by region
  6. How to change Sum to Count or Average
  7. Refresh a pivot table when the data changes
  8. Pivot table or formula?
  9. Practise it

A pivot table turns a long list of rows into a short summary, like total sales by region, in a few clicks and without formulas. You choose Insert > PivotTable, then drag columns into areas called Rows, Columns and Values. This pivot table Excel guide is for complete beginners, and it uses one small sales table from start to finish.

What is a pivot table?#

A pivot table (or "pivot") is a summary report that Excel builds from a table of data. You tell it what to group by and what to add up, and it does the maths.

Here is the start of a sales table with 20 orders:

ABCDE
1QuarterRegionProductUnitsSales
2Q1NorthLaptop3$3,600
3Q1SouthPhone5$3,000
4Q1EastMonitor4$1,200
5Q1WestLaptop2$2,400

To answer "How much did each region sell?" with formulas, you would type a list of regions and a SUMIFS for each one. With a pivot, you tick two boxes. When the question changes to "How many units of each product?", you drag a different field, and the answer is ready in seconds.

Get your data ready first#

Pivot tables are only as good as the data under them. Check four things before you start:

  1. One header row. Each column needs a short, unique name in row 1, like Region or Sales.
  2. One record per row. Each row is one order, one sale or one person.
  3. No blank rows or columns inside the data. A blank row can make Excel stop the range early.
  4. One type of data per column. A Sales column should hold only numbers, not text like "n/a".

A good habit is to turn the range into an Excel table first: click a cell and press Ctrl+T (Mac: ⌘T). A pivot built on a table picks up new rows when you refresh it.

How to create a pivot table#

Insert the pivot from the Insert tab:

  1. Click any cell inside your data.
  2. Go to Insert > PivotTable. In Microsoft 365, choose From Table/Range if a menu opens.
  3. In the dialog box (PivotTable from table or range, or Create PivotTable in older versions), check that the range covers the whole table, header row included, like Sales!$A$1:$E$21.
  4. Keep New Worksheet selected and click OK.

Excel adds a new sheet with an empty pivot and opens the PivotTable Fields pane on the right. The pane only shows while a cell of the pivot is selected. If it disappears, click inside the pivot again.

Pivot table Excel basics: rows, columns, values and filters#

Each column of your data becomes a field in the pane. You put fields into four areas:

AreaWhat it doesExample
RowsOne line for each itemOne row per region
ColumnsOne column for each itemOne column per product
ValuesThe numbers to summarizeSum of Sales
FiltersLimits the whole pivot to some recordsOnly Q2

You can tick a field's box or drag it into an area. When you tick, Excel guesses: text fields go to Rows and number fields go to Values. If a field lands in the wrong place, drag it to the right box.

Example: total sales by region#

In the PivotTable Fields pane, tick Region, then tick Sales. The pivot shows:

Row LabelsSum of Sales
East$8,100
North$12,000
South$9,900
West$13,200
Grand Total$43,200

Excel sorts the regions A to Z and adds a Grand Total. West sold the most. To sort by the numbers instead, right-click a value and choose Sort > Sort Largest to Smallest.

Now drag Product into the Columns area. Each region's total splits into Laptop, Monitor and Phone, with a total for each row and column. To show units instead, untick Sales and tick Units. Move Product to Rows and take Region out, and the pivot answers a new question: units sold per product (Laptop 17, Monitor 20, Phone 28).

How to change Sum to Count or Average#

The Values area adds numbers up by default, but it can also count, average and more:

  1. In the Values area, click Sum of Sales and choose Value Field Settings.
  2. Under Summarize value field by, pick Count, Average, Max or Min.
  3. Click OK.

Count counts records, so "Count of Sales" is the number of orders. Average shows the average order: in this data, West's Laptop orders average $3,600. While you are in Value Field Settings, click Number Format to show currency or remove decimals.

If a number field shows Count when you expected Sum, the column probably has blanks or text in it.

Refresh a pivot table when the data changes#

A pivot doesn't update when you edit its data. Refresh it:

  • Right-click anywhere in the pivot and choose Refresh.
  • Or use PivotTable Analyze > Refresh (Windows shortcut: Alt+F5). The tab is called Analyze or Options in some older versions.

If you added rows below a plain range, the pivot won't see them. Use PivotTable Analyze > Change Data Source to extend the range, or build the pivot on an Excel table so it grows by itself. Our guide to pivot table subtotals, filters and % of total covers these next steps.

Pivot table or formula?#

Use a pivot table to explore data and answer new questions quickly. Use a formula like SUMIFS when you need one number in a fixed cell that is always up to date, such as on a dashboard. The exercise on this page builds West's total with SUMIFS so you can check it against the pivot. For a full comparison, read pivot table vs SUMIFS.

Pivots often go together with other data tools. You can filter the source data to look at a few rows, and use conditional formatting to highlight the biggest numbers in a report. Pivot tables are also one of the core Excel skills for finance jobs.

Practise it#

Pivot tables are a click skill, so the fastest way to learn them is to build one. In ExcelReady's Pivot tables 1 lesson, you create a PivotTable from the 20-order sales table in this guide, put Region in Rows and Sales in Values, split it by product, switch to Count and Average, and read answers off the pivot, all in a live spreadsheet in your browser. Build your first pivot table in the practice lesson.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

A pivot with Region in Rows and Sales in Values would show West's total. Get the same number with a formula: click G2 and use SUMIFS to add up the sales in D2:D9 where the region in A2:A9 matches F2.

fx
ABCDEFGH
1
Region
Product
Units
Sales
Region
Total Sales
2
North
Laptop
3
3600
West
3
South
Phone
5
3000
4
East
Monitor
4
1200
5
West
Laptop
2
2400
6
North
Phone
6
3600
7
East
Laptop
1
1200
8
South
Monitor
3
900
9
West
Phone
4
2400
10
11
12

Tip: SUMIFS takes the column to add first, then the column to check, then what to match.

Practise this in a lesson

LessonPivot tables 1Build your first PivotTable on a new sheet: total sales by region, split them by product, then switch the summary from Sum to Count and Average and read the answer off the pivot.

Frequently asked questions

What is a pivot table used for?

+

It summarizes many rows of data into a short report, such as total sales by region or the number of orders per product. You build it by dragging fields, not by writing formulas.

Why does my pivot table show Count instead of Sum?

+

Excel uses Count when a number column has blank cells or text in it. Fix the data, or open Value Field Settings and choose Sum.

Why doesn't my pivot table update when I change the data?

+

A pivot table stores a copy of its data and only updates when you refresh it. Right-click the pivot and choose Refresh, or use PivotTable Analyze > Refresh (Alt+F5 on Windows).

Does a pivot table change my original data?

+

No. The pivot reads the source table and shows a summary somewhere else. You can delete or rebuild the pivot without touching the data.

Do I need to know formulas to use pivot tables?

+

No. Pivot tables work by ticking and dragging fields. Knowing SUMIFS helps when you need one fixed number in a report, but it isn't required.

Sources

  • Create a PivotTable to analyze worksheet data - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What is a pivot table?
  2. Get your data ready first
  3. How to create a pivot table
  4. Pivot table Excel basics: rows, columns, values and filters
  5. Example: total sales by region
  6. How to change Sum to Count or Average
  7. Refresh a pivot table when the data changes
  8. Pivot table or formula?
  9. Practise it

Keep reading

Data tools· 6 min read

Pivot Table Tricks: Subtotals, Filters and % of Total

To show a percent of total in a pivot table, click the ▾ on the field in the Values area, choose Value Field Settings, open Show Values As and pick % of Grand Total. Each number then shows its share of the total, and the parts add up to 100%. You can also right-click a value and choose Show Values As.

Data tools· 5 min read

How to Filter Data in Excel (Ctrl+Shift+L)

To filter data in Excel, click any cell in your table and press Ctrl+Shift+L (Mac: ⌘⇧F), or choose Data > Filter. Arrow buttons appear in the header row. Click an arrow, untick (Select All), tick the values you want and click OK. Hidden rows aren't deleted: clear the filter and they come back.

Data tools· 5 min read

Conditional Formatting in Excel: Highlight What Matters

Conditional formatting colors cells automatically when they meet a rule. Select the cells, go to Home > Conditional Formatting, and pick a rule such as Highlight Cells Rules > Greater Than. To color whole rows, use New Rule > Use a formula, with a $ before the column letter: =$E2>5000. Rules update whenever values change.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free