Excel Pivot Table Tutorial That Helps You Summarize Data Quickly

Share
A laptop screen showing an Excel pivot table with data summarized in rows and columns in an office setting.

A pivot table in Excel is a powerful tool that helps you quickly summarize and analyze large amounts of data without using complex formulas. If you’ve never created one before, this tutorial will guide you through the entire process—from preparing your data to customizing and updating your pivot table. By the end, you’ll know how to build a pivot table, arrange and filter its data, adjust its layout and style, and refresh it when your source data changes.

What do I need before creating a pivot table?

To create a pivot table, start with well-organized data:

  • Arrange your data in a simple table with clear, descriptive headers at the top of each column.
  • Each column should hold only one data type, such as dates, names, or numbers.
  • Avoid blank rows or columns inside your data range, as these can disrupt the pivot table.
  • Do not include any totals or subtotals in your source data; pivot tables calculate those automatically.
  • Keep your data in a contiguous range without gaps so Excel can select it easily when creating the pivot table.

How do I create a pivot table step by step?

  1. Click any cell inside your data range to let Excel know which data to use.
  2. Go to the Insert tab on the ribbon and click the PivotTable button.
  3. Excel will automatically select your data range. Make sure it covers all the data you want.
  4. Choose where to place your pivot table: a new worksheet is usually best for beginners, but you can also pick an existing sheet.
  5. Click OK to create the pivot table framework where you’ll arrange your data.

If you add or change data later, you won’t have to create the pivot table again. You just need to refresh it.

An office worker using a laptop to create an Excel pivot table with the Insert PivotTable dialog visible.

How can I arrange and filter data inside the pivot table?

After creating the pivot table, you’ll see a task pane on the right listing your column headers as fields.

  1. Drag a field into the Rows area to group your data by that category. For example, dragging "Product" here will display each product as a row.
  2. Drag a field into the Columns area to compare data across categories horizontally, such as months or regions.
  3. Drag a numeric field into the Values area to summarize it, like summing sales or counting orders.
  4. Drag a field into the Filters area to create a filter that lets you focus on specific parts of your data, such as a single year or salesperson.

You can rearrange fields anytime by dragging them to different areas. To filter data, click the drop-down arrow next to a label in the pivot table and select which items to show.

A computer screen showing the Excel pivot table field list pane with fields being arranged and filtered.

What customization options are available for my pivot table?

You can change how your pivot table summarizes data and adjust its appearance:

To change the summary calculation (for example, from Sum to Average or Count):

  1. Click the drop-down arrow next to the field in the Values area.
  2. Choose Value Field Settings.
  3. Select the summary function you want.

To format numbers:

  • Right-click a value in the pivot table.
  • Select Number Format.
  • Pick a format like currency or percentage.

For layout and style:

  • Use the Design tab on the ribbon when your pivot table is selected to choose different styles and colors.
  • Change the report layout to display data in tabular or outline form for easier reading.
  • Turn subtotals and grand totals on or off depending on your needs.

These options help make your pivot table clearer and more professional for reports or presentations.

How do I keep my pivot table up to date when data changes?

Pivot tables don’t update automatically when you change your source data. To refresh your pivot table:

  1. Click anywhere inside the pivot table.
  2. Go to the PivotTable Analyze tab (or Options tab in some Excel versions).
  3. Click Refresh.

This updates the pivot table with any changes from your data.

If you add new rows outside the original data range, update the data source:

  1. Click Change Data Source on the Analyze tab.
  2. Select the full new range including your added data.

Regularly refreshing your pivot table keeps your summaries accurate without rebuilding it.

Conclusion

You now know how to prepare your data, create a pivot table, arrange and filter its fields, customize its look, and refresh it when your data changes. Try creating pivot tables with your own data to become more comfortable. Once you get used to them, pivot tables will save you time and give you clear insights into your work data.

Frequently Asked Questions

Can I create a pivot table from an Excel table?

Yes. If your data is formatted as an Excel table (using Insert > Table), creating a pivot table becomes easier. Excel automatically uses the table’s range and updates the pivot table when you add or remove rows.

What if my pivot table shows incorrect totals?

First, check that your source data doesn’t have blank cells or mixed data types in a column. Also, verify the summary function your pivot table uses (Sum, Count, Average). You can change it by selecting Value Field Settings for the field in the Values area.

Can I refresh multiple pivot tables at once?

Excel doesn’t have a built-in command to refresh all pivot tables simultaneously. You can refresh them one by one, or if you’re comfortable with macros, create a simple VBA script to refresh all pivot tables in your workbook at once.

Read more