Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Create Pivot Tables in Excel

Learn how to create pivot tables in Excel with clear steps, practical context, and useful troubleshooting guidance.

Table of Contents

This updated guide examines How to Create Pivot Tables in Excel and organizes the essential facts, background, and practical takeaways in clear American English.

Part 1

Building the Pivot Table

  1. How to Create Pivot Tables in Excel — contextual image 1 Load the spreadsheet you want to create the Pivot Table from. A Pivot Table allows you to create visual reports of the data from a spreadsheet. You can perform calculations without having to input any formulas or copy any cells. You will need a spreadsheet with several entries to create a Pivot Table.
    • You can also create a Pivot Table in Excel using an outside data source, such as Access. You can insert the Pivot Table in a new Excel spreadsheet.
  2. How to Create Pivot Tables in Excel — contextual image 2 Ensure that your data meets the needs of a pivot table. A pivot table is not always the answer you are looking for. to take advantage of the pivot table features, your spreadsheet should meet some basic criteria:[1]
    • Your spreadsheet should include at least one column with duplicate values. This basically just means that at least one column should have repeating data. In the example discussed in the next section, the "Product Type" column has two entries: "Table" or "Chair".
    • It should include numerical information. This is what will be compared and totaled in the table. In the example in the next section, the "Sales" column has numerical data.
  3. How to Create Pivot Tables in Excel — contextual image 3 Start the Pivot Table wizard. Click the "Insert" tab at the top of the Excel window. Click the "PivotTable" button on the left side of the Insert ribbon.
    • If you are using Excel 2003 or earlier, click the Data menu and select PivotTable and PivotChart Report...
  4. How to Create Pivot Tables in Excel — contextual image 4 Select the data you want to use. By default, Excel will select all of the data on your active spreadsheet. You can click and drag to choose a specific part of the spreadsheet, or you can type the cell range in manually.
    • If you are using an external source for your data, click the "Use an external data source" option and clickChoose Connection.... Browse for the database connection saved on your computer.
  5. How to Create Pivot Tables in Excel — contextual image 5 Select the location for your Pivot Table. After selecting your range, choose your location option from the same window. By default, Excel will place the table on a new worksheet, allowing you to switch back and forth by clicking the tabs at the bottom of the window. You can also choose to place the Pivot Table on the same sheet as the data, which allows you to pick the cell you want it to be placed.[2]
    • When you are satisfied with your choices, clickOK. Your Pivot Table will be placed and the interface will change.

Part 2

Configuring the Pivot Table

  1. How to Create Pivot Tables in Excel — contextual image 6 Add a row field. When creating a Pivot Table, you are essentially sorting your data by rows and columns. What you add where determines the structure of the table. Drag a field from the Field List on the right onto the Row Fields section of the Pivot Table to insert the information.
    • For example, your company sells two products: tables and chairs. You have a spreadsheet with the number (Sales) of each product (Product Type) sold in your five stores (Store). You want to see how much of each product is sold in each store.
    • Drag the Store field from the field list into the Row Fields section of the Pivot Table. Your list of stores will appear, each as its own row.
  2. How to Create Pivot Tables in Excel — contextual image 7 Add a column field. Like the rows, the columns allow you to sort and display your data. In the above example, the Store field was added to the Row Fields section. To see how much of each type of product was sold, drag the Product Type field to the Column Fields section.
  3. How to Create Pivot Tables in Excel — contextual image 8 Add a value field. Now that you have the organization laid out, you can add the data to be displayed in the table. Click and drag the Sales field into Value Fields section of the Pivot Table. You will see your table display the sales information for both of your products in each of your stores, with a Total column on the right.[3]
    • For all of the above steps, you can drag the fields into the corresponding boxes below the Fields list on the right side of the window instead of dragging them onto the table.
  4. How to Create Pivot Tables in Excel — contextual image 9 Add multiple fields to a section. Pivot tables allow you to add multiple fields to each section, allowing for more minute control over how the data is displayed. Using the above example, say you make several types of tables and several types of chairs. Your spreadsheet is records whether the item is a table or chair (Product Type), but also the exact model of the table or chair sold (Model).
    • Drag the Model field onto the Column Fields section. The columns will now display the breakdown of sales per model and overall type. You can change the order that these labels are displayed by clicking the arrow button next to the field in the boxes in the lower-right corner of the window. Select "Move Up" or "Move Down" to change the order.
  5. How to Create Pivot Tables in Excel — contextual image 10 Change the way data is displayed. You can change the way values are displayed by clicking the arrow icon next to a value in the Values box. Select "Value Field Settings" to change the way the values are calculated. For example, you could display the value in terms of a percentage instead of a total, or average the values instead of summing them.
    • You can add the same field to the Value box multiple times to take advantage of this. In the above example, the sales total for each store is displayed. By adding the Sales field again, you can change the value settings to show the second Sales as percentage of total sales.
  6. How to Create Pivot Tables in Excel — contextual image 11 Learn some of the ways that values can be manipulated. When changing the ways values are calculated, you have several options to choose from depending on your needs.
    • Sum - This is the default for value fields. Excel will total all of the values in the selected field.
    • Count - This will count the number of cells that contain data in the selected field.
    • Average - This will take the average of all of the values in the selected field.
  7. How to Create Pivot Tables in Excel — contextual image 12 Add a filter. The "Report filter" area contains the fields that enable you to page through the data summaries shown in the pivot table by filtering out sets of data. They act as the filters for the report. For example, setting your Store field as the filter instead of a Row Label will allow you to select each store to see individual sales totals, or see multiple stores at the same time.

Part 3

Using the Pivot Table

  1. How to Create Pivot Tables in Excel — contextual image 13 Sort and filter your results. One of the key features of the Pivot Table is the ability to sort results and see dynamic reports. Each label can be sorted and filtered by clicking the down arrow button next to the label header. You can then sort the list or filter it to only show specific entries.[4]
  2. How to Create Pivot Tables in Excel — contextual image 14 Update your spreadsheet. Your pivot table will automatically update as you modify the base spreadsheet. This can be great for monitoring your spreadsheets and tracking changes..
  3. How to Create Pivot Tables in Excel — contextual image 15 Change your pivot table around. Pivot tables make it extremely easy to change the location and order of fields. Try dragging different fields to different locations to come up with a pivot table that meets your exact needs.
    • This is where the pivot table gets its name. Moving the data to different locations is known as "pivoting" as you are changing the direction that the data is displayed.
  4. How to Create Pivot Tables in Excel — contextual image 16 Create a Pivot Chart. You can use a Pivot Chart to show dynamic visual reports. Your Pivot Chart can be created directly from your completed Pivot Table, making the chart creation process a snap.[5]

FAQ

What is How to Create Pivot Tables in Excel about?

It provides a structured overview of table, explains the main context, and highlights practical takeaways for readers.

Why does this topic matter?

Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.

How should readers use this information?

Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.