October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Create a PivotTable in Excel: A Step-by-Step Guide

Select clean source data, choose Insert > PivotTable, set a destination, and arrange fields to group and summarize the report. Learn when a Data Model is needed for multiple related tables.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To create a PivotTable in Excel, select a cell in clean, column-based data, choose Insert > PivotTable, select where to put the report, and click OK. Then arrange fields in the Rows, Columns, Values, and Filters areas to decide how Excel groups and summarizes the data.

Prepare your data before creating a PivotTable

A PivotTable works best when its source is a straightforward table: each row is a record and each column contains one kind of information. Microsoft Support recommends a single header row with unique, nonblank labels. Avoid merged cells, multiple header rows, and blank rows or columns within the source data; keep the values in each column consistent with its heading.

As an Amazon Associate I earn from qualifying purchases.

Converting the source range to an Excel table is useful when records will be added or updated. After you refresh the PivotTable, it can include the current rows in that table. For a complicated or nested source that needs reshaping, Microsoft recommends using Power Query to turn it into a tabular layout. See Microsoft’s PivotTable creation and source-data guidance and its overview of Excel tables.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Create a PivotTable from one worksheet table

  1. Select a cell in the source data, or select the range you want to analyze. Check that the selection has one row of column headers.

  2. On the Excel ribbon, choose Insert > PivotTable. Excel opens a creation dialog or pane and identifies the source range or table.

  3. Choose New Worksheet to put the PivotTable on a new sheet, or Existing Worksheet and specify a destination cell to place it on a current sheet.

  4. Click OK. Excel creates an empty PivotTable and displays the PivotTable Fields list.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  5. Select field checkboxes or drag fields into the report areas. Excel may place numeric fields in Values, nonnumeric fields in Rows, and date or time fields in Columns by default; you can move them to fit the report you want.

The exact controls can differ across Windows, Mac, web, and iOS versions of Excel. In Excel for the web, the Insert PivotTable pane offers a destination and a choice between creating a custom PivotTable and selecting a recommended one. Microsoft documents recommended PivotTables in that web flow as available only to Microsoft 365 subscribers. Check the labels in your own version if they differ from these steps. Microsoft’s platform-specific PivotTable instructions cover the documented workflows.

Arrange fields to shape the report

The four areas control what the PivotTable displays and how it summarizes the source. A field’s placement determines whether it forms a group, becomes a category across the report, supplies a calculation, or filters the results.

  • Rows: Groups records into row labels, such as product, employee, or region.
  • Columns: Splits results into column labels, such as month or status.
  • Values: Summarizes a field, commonly a numeric measure such as units or sales.
  • Filters: Lets you filter the report by a field without making it a row or column label.

For example, to summarize sales by region and month, put Region in Rows, Month in Columns, and Sales in Values. Add a field such as Product to Filters if you want to view the report for selected products. This illustrates field placement; your available fields depend on the columns in your source.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Refresh the PivotTable after source changes

A PivotTable does not automatically recalculate its report every time its source changes. Refresh it after editing or adding source records. If the source is an Excel table, rows added to or updated in that table are included when the PivotTable is refreshed. Microsoft explains the table-based behavior in its PivotTable refresh guidance.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When to use a Data Model for multiple tables

For a PivotTable based on one well-formed table, the standard workflow is sufficient. Use Excel’s Data Model when a report needs fields from multiple related tables—for example, a sales table and a separate products table—rather than treating each source as an unrelated flat range.

Approach Source and relationships What you need Platform consideration
One-table PivotTable One range or Excel table; no relationship between tables is needed. Select the source, create the PivotTable, and arrange fields. Power Query is unnecessary for a clean, tabular source. Microsoft documents PivotTables across Windows, web, Mac, and iOS, though interface details vary.
Data Model PivotTable Multiple tables whose matching identifiers connect their records. Import or add the tables, create or confirm relationships, then use fields from the related tables. Power Query can import data from sources including text files, Excel workbooks, websites, Access, and SQL Server. Microsoft’s multiple-table support article says Data Models are not supported on Excel for Mac; verify support for your current release and workflow.

Relationships depend on matching identifiers, such as a unique key. Microsoft provides instructions for creating relationships between tables and for building a PivotTable from multiple tables. The Data Model route involves additional setup, so use it only when the analysis actually needs linked tables.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.