How to Create a Pivot Table in Excel

5 min readJuly 20, 2026

Pivot tables are Excel's most powerful tool for summarizing data — turning thousands of rows into a clear summary in seconds. They intimidate people, but the basics are genuinely simple. Here's how to build your first one.

What a pivot table does

A pivot table takes a long list of raw data — sales records, survey responses, transactions — and summarizes it by categories you choose. Instead of manually writing SUMIFs, you drag fields around and Excel calculates totals, counts, and averages instantly. Want total sales by region? By region and month? By product within region? A pivot table does all of it with a few drags.

Preparing your data

Pivot tables need clean, tabular data:

  • Headers in the first row, one per column (Date, Region, Product, Amount).
  • No blank rows or columns inside the data.
  • One record per row.

If your data looks like a proper table with column headings, you're ready.

Creating the pivot table

  1. Click any cell inside your data.
  2. Go to Insert > PivotTable.
  3. Excel auto-detects your range. Choose to place the pivot table on a new worksheet (usually best) and click OK.
  4. You'll see an empty pivot table and a field list on the right showing your column names.

The four areas

The field list has four zones you drag fields into. Understanding these is the whole skill:

  • Rows — categories listed down the left side. Drag "Region" here to get one row per region.
  • Columns — categories spread across the top. Drag "Month" here to get a column per month.
  • Values — the numbers being summarized. Drag "Amount" here to sum sales.
  • Filters — fields to filter the whole table by (drag "Year" here to switch years).

A worked example

Say you have sales data and want total sales by region:

  1. Drag Region to the Rows area.
  2. Drag Amount to the Values area.

Instantly you get each region with its total sales. Now drag Month to Columns, and you get a grid of region-by-month sales. That's the power — restructuring the summary just by dragging.

Changing the calculation

By default, Values sums numbers (or counts text). To change it — to an average, count, or maximum:

  1. Click the field in the Values area.
  2. Choose Value Field Settings.
  3. Pick the calculation (Sum, Count, Average, Max, Min, etc.).

Refreshing when data changes

Pivot tables don't update automatically when you change the source data. After editing the underlying data, right-click the pivot table and choose Refresh (or Data > Refresh All). If you added new rows, make sure they're within the pivot table's source range — using a formatted Table (Ctrl+T) as your source handles this automatically.

Useful next steps

  • Sort by clicking a value column and sorting largest to smallest.
  • Group dates by right-clicking a date and choosing Group, to roll daily data up into months or years.
  • Show percentages via Value Field Settings > Show Values As > % of Total.

The takeaway

Pivot tables summarize large data by dragging fields into Rows, Columns, and Values. Start simple — one field in Rows, one in Values — and build from there. Once the drag-and-drop logic clicks, you'll reach for pivot tables constantly, because they do in seconds what would take dozens of formulas. Remember to Refresh after changing your data.

Related Guides

We use cookies and display ads via Google AdSense to keep ExcelBossPro free. Privacy Policy. By continuing, you accept our use of cookies.