Start Free Trial

Pivot Tables in Excel: What they are and how to use them

If you're new to Excel, PivotTables might sound intimidating but they are one of the most powerful tools in the program for summarizing and analyzing data. Whether you're managing sales figures, budgets, customer lists, or inventory, learning how to use PivotTables will dramatically boost your productivity.

In this guide, we’ll break down what a PivotTable is, how to create one, and explore all the little features that make them so versatile and useful. By the end, you’ll be able to confidently slice, dice, and analyze your data like a pro. Side note, outside of Excel I see it spelled Pivot Table but inside Excel, it's actually one word.

What is a PivotTable in Excel?

A PivotTable is an Excel feature that lets you quickly summarize large sets of data. You can group, filter, count, total, or average data without writing formulas. PivotTables are especially useful when your raw data is structured in a table with rows and columns, like a list of transactions or a customer database.

Think of it like a dynamic report builder. You choose what you want to see, and Excel handles the math and layout. In the image below, you see Item ID on the far left. This is what a pivot table looks like when you put something like Item ID in the rows to group by. If you didn't use a pivot table, you would likely have a gigantic list of Item IDs and no way to summarize.

Before You Begin: Prepare Your Data

To use PivotTables effectively, your data should meet these conditions:

Tip: Convert your data into an Excel Table (Ctrl + T). It helps PivotTables stay connected to the data as it grows.

How to Create a PivotTable

  1. Click anywhere inside your data.
  2. Go to the Insert tab and click PivotTable.
  3. In the popup, choose:
  1. Click OK.

You’ll now see a blank PivotTable and a PivotTable Fields pane on the right.

Understanding the Pivot Table Layout

The Fields pane is where the magic happens. You'll see all your column headers listed as fields. You can drag them into one of four areas. My image below is the example from the video above and the Xpert course lesson 77.

Example: Summarize Sales by Region

Let’s say you have a table with the following columns: Date, Region, Salesperson, Sales.

Here’s how to use a PivotTable to see total sales by region:

  1. Drag Region into the Rows area.
  2. Drag Sales into the Values area.

And voilà! You’ve just created a PivotTable.

Customizing Pivot Tables: Key Features and Options

Here’s where you can take PivotTables from good to great. Let’s explore the options:

1. Change Calculation Type

By default, Excel sums numerical values. But you can change this:

Count is useful for non-numerical data (e.g., how many orders per customer).

2. Format Numbers

To format values (like adding $ or commas):

3. Sort and Filter

You can sort and filter just like in normal Excel:

Filters help narrow down the view, for example, showing sales for only the Midwest.

4. Add Multiple Fields

You can drag more than one field into Rows or Columns.

This is great for drilling into details.

5. Group Data

You can group:

6. Show Percentages Instead of Totals

Want to see what percentage each item contributes?

This is perfect for comparing proportions.

7. PivotTable Design Options

Go to the Design tab on the ribbon to:

Try switching to Tabular Form for easier reading and copying.

8. Refresh When Data Changes

If your source data updates, you must refresh the PivotTable:

If you use an Excel Table as your source, it auto-expands when you add new rows.

9. Slicers: Visual Filters

Slicers make filtering easier with clickable buttons:

Slicers let you filter your PivotTable with a single click.

10. PivotCharts: Graph Your PivotTable

To visualize the data:

When you filter the PivotTable, the chart updates too!

11. Calculated Fields: Create Your Own Metrics

Calculated fields let you add custom formulas to your PivotTable without editing your original data.

For example, let’s say you have columns for Revenue and Cost, and you want to create a new column that shows Profit.

How to Add a Calculated Field:

  1. Click anywhere in the PivotTable.
  2. Go to the PivotTable Analyze (or Analyze) tab on the ribbon.
  3. Click Fields, Items & Sets > Calculated Field.
  4. In the popup:
  1. Click Add, then OK.

Your new calculated field will appear in the Values area automatically.

Tips and Nuances:

Example Use Cases:

Editing or Deleting a Calculated Field:

Adding calculated fields gives you even more power to extract insights from your data without altering your source table or adding helper columns.

Common Mistakes to Avoid Using Pivot Tables

Pro Tips for Going Further

PivotTables may feel like magic at first, and that’s because they kind of are. They take the pain out of data analysis and let you focus on insights. Once you get comfortable with dragging and dropping fields, filtering, and customizing views, you’ll find PivotTables indispensable in your Excel toolkit.

If you’re just getting started with Excel, PivotTables are one of the best ways to impress your boss, understand your data, and make smarter decisions fast.

Want to practice PivotTables with guided examples? Check out my Excel Xecutor and Excel Survival courses to go from beginner to confident user in no time.

Ready to try Updoot free?

GPS time tracking, scheduling, HR, payroll, CRM, and more in one platform built for small business.

Start Free Today