Blog >

What Is A Pivot Table And How To Use Pivot Tables In Excel

What Is A Pivot Table And How To Use Pivot Tables In Excel

Share this post

how to use pivot tables

If you work with sales records, expenses, customer lists, survey responses, or other large worksheets, you have probably reached the point where scrolling stops being useful. The data is there, but the answer you need is buried in hundreds or thousands of rows.

That is where how to use pivot tables becomes worth learning. A PivotTable can turn a long list into a short summary without changing the source data. You can total sales by region, count orders by customer, compare monthly figures, or group results by category in a few clicks using a free Excel tool on a worksheet that contains your data.

Microsoft describes a PivotTable as an interactive way to summarize large amounts of data. It can total values, group information, filter records, and rearrange rows and columns so you can look at the same source from different angles.

For a small or mid sized business, that can make regular reporting much easier.

What Is a Pivot Table?

A PivotTable is an Excel reporting tool that summarizes a larger table into a smaller view built around the question you want to answer.

Imagine a worksheet with 10,000 sales transactions. Each row contains a date, customer, product, region, salesperson, quantity, and sales amount. Reading the rows one by one would tell you very little about the sales data; instead, consider using a summary table for more actionable insights.

A PivotTable can instead show sales by region, monthly revenue by product, order count by salesperson, or average transaction value by customer type.

The useful part is that the source remains intact. Microsoft notes that PivotTables work from a snapshot of the source information, so arranging fields in the report does not alter the original records.

That makes them useful for exploration. You can change the layout, test another grouping, and ask a different question without rebuilding the source worksheet.

Why Are Pivot Tables Useful?

PivotTables help when you have a structured list and need summaries faster than manual formulas or repeated filtering, making them essential in Microsoft Excel.

They are especially useful for recurring questions in a pivot table tutorial. If you receive a new sales export every month, for example, you may want to see totals by region, product, and salesperson each time. A PivotTable gives you a repeatable way to create those summaries.

Microsoft lists common PivotTable uses such as calculating totals and subtotals, grouping categories, filtering information, sorting results, and changing the arrangement of rows and columns.

In everyday business work, that means you can use them to create and use pivot tables effectively.

  • Compare sales across branches
  • Count customer inquiries by source and add the fields to the values area for better insights.
  • Review expenses by department
  • Summarize survey responses
  • Compare monthly performance by organizing the data from largest to smallest to easily identify trends.
  • Find high and low performing products
  • Group transactions into useful categories

They also fit naturally into reporting work. If you are building a management view, our guide on what a KPI dashboard is and how it works This guide explains how summary tables and charts can support regular performance tracking and help you choose where you want to focus your analysis.

How to use pivot tables Step by Step

The process is straightforward once the source data is clean. Most of the work comes down to choosing the right fields and putting them in the right areas, including the columns area.

  1. Prepare the source data

Your source should use one row per record and one column per field. Keep a single header row at the top of your data range.

Microsoft recommends consistent data types within each column and no blank rows or columns inside the source range.

  1. Select the data range of your data to ensure accurate reporting and resize the selection as necessary.

Click anywhere inside the source table or select the data range you want to use.

If the data will grow over time, converting it to an Excel Table first can make updates easier because new rows can be included when the PivotTable is refreshed.

  1. Insert the PivotTable and drag the relevant field into the values.

Go to Insert, then choose PivotTable to add a field to your pivot table.

Excel will ask whether you want to place the report on a new worksheet or an existing worksheet after you right-click to select your options. For most business files, a new worksheet is easier to manage.

  1. Add fields

Excel displays the PivotTable Fields list. This is where you decide how the report should be arranged.

  1. Check the calculation

A numeric field will often be summarized with Sum, while text fields are commonly counted in a pivot table tutorial. Check the result rather than assuming Excel chose the calculation you wanted.

  1. Format the result to visualize your data.

Apply number formats, rename headings if needed, and adjust the report layout so someone else can read it without explanation.

  1. Refresh when the source changes

If new rows or updated values are added later, refresh the PivotTable before relying on the new results.

How Do the Four PivotTable Areas Work?

The Field List is easier to understand once you know what each area controls in the context of creating pivot tables, especially the four areas.

Microsoft’s current Excel guidance uses four main areas, Filters, Columns, Rows, and Values.

  • Rows contain the row labels you want listed vertically.
  • Columns split the results across the top.
  • Values contain the numbers or counts being summarized in the sales data.
  • Filters let you restrict the whole report to selected items.

Suppose your source contains Date, Region, Product, Salesperson, Units, and Revenue.

If you place Region in Rows and Revenue in Values, Excel can show total revenue for each region.

Add Product to Columns and the same report can compare each region across products.

Move Product from Columns to Rows and the layout changes again. The source does not.

This ability to rearrange fields is the main reason people often understand how to use pivot tables faster by experimenting than by memorizing every command.

How Should You Prepare Data Before Creating a Pivot Table?

Clean source data matters more than fancy formatting.

A PivotTable can summarize what you give it, but it cannot tell that “North”, “NORTH”, and “North Region” are meant to be the same category. It will usually treat them as separate items.

Before you create the report, check for areas of the pivot table that may need adjustments:

  • One clear header row is necessary for the proper functioning of the PivotTable and to facilitate the process of creating actionable reports.
  • No completely blank rows inside the data
  • Consistent names for categories enhance the clarity of data in Excel, especially when using a pivot table.
  • Dates stored as real dates are essential for accurate pivot table creation.
  • Numbers stored as numbers can be added to the values area for analysis.
  • No manual subtotal rows inside the source
  • No merged cells inside the main data table
  • One record per row is crucial for ensuring that fields can be accurately added to the values area.

Microsoft advises keeping the source in list format, placing column labels in the first row, avoiding mixed data types in the same column, and removing manual subtotal or grand total rows before creating the PivotTable.

If the source needs work, our guide on Cleaning messy data in Excel before analysis is crucial for accurate results. Our guide covers the preparation stage in more detail, including value field settings and how to use the insert tab effectively.

How Do You Change Sum to Count, Average, or Another Calculation?

The Values area controls how Excel summarizes a field, especially when fields are added to the values area.

For numeric information, Sum is common. But it may not be the answer you need in your data analysis.

You might want to learn how to filter the data effectively using the dropdown options to improve your analysis.

  • Count for the number of transactions
  • Average for average order value
  • Max for the highest result
  • Min for the lowest result
  • Percentage of total for contribution analysis

Microsoft confirms that PivotTables support summary functions including Sum, Count, and Average. It also supports custom calculations and calculated fields in suitable PivotTables, allowing you to create more specific field analyses.

A simple example helps.

Suppose your source has 500 order records in the range of your data. Putting Revenue in Values and using Sum answers, “How much revenue did we make?” in the context of creating pivot tables.

Changing that same field to Average answers a different question, “What was the average revenue per order?”

The field did not change, indicating that you may need to choose where you want to apply the updates. Only the summary did.

How Do You Group Dates by Month, Quarter, or Year?

Date grouping is useful when the raw file contains one row per transaction but the report needs monthly or quarterly totals in a step-by-step manner to learn how to create effective summaries.

For example, daily sales data records may be too detailed for a management report that requires summarizing fields into the values area. Grouping the date field can turn hundreds of transaction dates into monthly totals to analyze data effectively.

Excel can group date fields so you can review smaller sections of the information rather than every individual record.

If grouping does not work, check the source first and right-click to access additional options. Text that looks like a date can still be stored as text, and blank or invalid entries can also cause problems when they are added to the values area.

Once the dates are grouped, you can compare periods much more easily.

This is often the point where a basic PivotTable starts becoming a useful monthly report.

How Do You Filter a Pivot Table?

Filtering lets you focus on part of the summary without deleting anything from the source.

You can use the filter controls built into PivotTables, place a field in the Filters area, or add slicers for a more visible way to select categories.

Microsoft recommends slicers as a quick way to filter PivotTables and visualize your data, especially when adding fields to the values area. They are especially helpful in reports that someone else will use because the selected items remain visible in the pane of your data.

For example, a sales report could have slicers for report filters.

  • Region
  • Product category
  • Salesperson
  • Customer type

A manager can click a region and see the report update for that area in the report filters area, thanks to the pivot table automatically adjusting.

If you are creating a dashboard rather than a standalone table, our guide on how to create a dashboard in Excel This tutorial explains how PivotTables, PivotCharts, slicers, and other elements can work together in the world of pivot tables.

How Do You Refresh a Pivot Table?

A PivotTable does not always update itself the moment the source changes.

After adding or editing source records, click and hold to refresh the report so Excel recalculates it using the latest information.

This is one of the most important habits to build once you know how to use pivot tables for recurring reports.

If the source is an Excel Table, Microsoft notes that new and updated records can be included when the PivotTable is refreshed.

If you used a fixed data range instead, you may need to check whether the PivotTable source still includes the new rows added to the values area.

For a monthly report, a simple routine is often enough. Update the source, refresh the PivotTable, check the totals, then review any charts or dashboards that depend on it.

What Are Common Pivot Table Mistakes?

Most problems come from the source data or from choosing the wrong summary, not from the PivotTable feature itself.

Watch for these common issues when you right-click on the PivotTable to access the value field settings: ensure that you want to remove any unnecessary fields.

  • Blank or inconsistent headers
  • Numbers stored as text
  • Dates stored as text
  • Duplicate records in the source
  • New rows outside a fixed source range
  • A field using Count when you expected Sum
  • Old results because the PivotTable was not refreshed
  • Categories that look similar but use different spelling
  • Too many row and column fields in one report can complicate the pivot table automatically generated.

There is another problem that is less obvious in the process of creating a report. A PivotTable can produce a correct calculation that answers the wrong question if the field is automatically placed incorrectly in the columns area.

For example, total revenue by salesperson does not automatically tell you who performed best if territories differ greatly in size. The arithmetic may be right while the business interpretation is weak.

Use Excel to organize the evidence in the PivotTable, then think about what the summary actually means.

Can Pivot Tables Be Used for Dashboards?

Yes. PivotTables are commonly used behind Excel dashboards because they can feed PivotCharts and respond to filters.

Microsoft’s dashboard guidance uses multiple PivotTables, PivotCharts, slicers, and timelines to create interactive reports that showcase the world of pivot tables.

A common workbook setup is:

  • One sheet for raw data
  • One sheet for PivotTables and supporting calculations
  • One sheet for the dashboard

This keeps the working parts away from the page people actually read.

If you need recurring reporting, our guide on how to build a KPI dashboard for better reporting This tutorial covers the planning side in more detail as a guide to mastering Excel.

And if you are deciding whether to keep reporting in Excel or move to another tool, our comparison of Power BI and Looker Studio for a small business may help.

Frequently Asked Questions About Pivot Tables

What Is the Difference Between a Pivot Table and a Normal Excel Table?

A normal Excel Table stores and organizes the source records.

A PivotTable summarizes those records, which is a key concept in creating pivot tables. It can group, total, count, average, filter, and rearrange the information without changing the original table, allowing you to visualize your data effectively.

Do Pivot Tables Change the Original Data?

No. Rearranging fields in a PivotTable does not edit the source records or the data you want to summarize.

Microsoft states that PivotTables work from a snapshot of the source data.

Can I Use a Pivot Table Without Formulas?

Yes.

For many common summaries in Microsoft Excel, you do not need to write formulas to analyze data in Excel, thanks to the power of pivot tables. You can drag fields into Rows, Columns, Values, and Filters, then choose how Excel should summarize the Values field.

Why Is My Pivot Table Counting Instead of Summing?

This often happens when Excel does not recognize the source field as fully numeric.

Check for text, blanks, or mixed data types in the source column. Then correct the source, refresh the report, and confirm the Values calculation.

Can Pivot Tables Work With More Than One Table?

Yes.

Microsoft supports PivotTables built from multiple related tables through Excel’s Data Model. This is useful when the information you need is split across separate tables rather than stored in one flat list.

Can I Make Charts From a Pivot Table?

Yes.

A PivotChart uses the summarized PivotTable information and can change as you filter or rearrange the report. Microsoft describes PivotCharts as a way to show comparisons, patterns, and trends from PivotTable summaries in a step-by-step tutorial.

Is an Excel Pivot Table Good for Large Datasets?

It can handle substantial worksheet data, and Microsoft also supports external sources and the Data Model for more advanced use.

The practical limit depends on the workbook, source, calculations, computer, and reporting need. If the file becomes slow or difficult to maintain, using external data or a dedicated reporting tool may be a better choice.

How Much Data Can Excel Hold?

Microsoft lists 1,048,576 rows and 16,384 columns as the maximum size of a standard Excel worksheet, which is important when creating pivot tables. It also lists 1,048,576 unique items per field as the PivotTable report limit.

Those figures are technical maximums, not a promise that every workbook will stay fast or easy to maintain at that size. Performance still depends on the workbook, formulas, computer, source design, and how much analysis you are asking Excel to perform.

What Is the Easiest Way to Learn how to use pivot tables?

Start with a simple dataset you already understand to harness the power of pivot tables effectively.

Create one question, such as total sales by region. Put Region in Rows and Sales in Values. Then move fields into the values area and watch what changes.

Microsoft also provides Recommended PivotTables, which can suggest a starting layout based on the selected data source.

Turn Raw Excel Data Into Clearer Reports

Using PivotTables well can save a lot of manual work when the same reporting questions keep coming back.

Start with clean source data to ensure that all fields can be effectively added to the values area. Build one simple summary by adding the fields to the values area. Check the calculation. Then add grouping, filters, charts, or extra fields only when they help answer a real business question.

We help businesses clean spreadsheets, build PivotTables, improve recurring reports, and create Excel dashboards that are easier to maintain. We work onsite in the Philippines and online with clients in Australia, the United States, and the United Kingdom, leveraging the power of pivot tables for data analysis.

If your workbook contains plenty of information but still takes too long to interpret, a well built PivotTable may be a good place to begin the process of creating a clear analysis.