How to Insert a Pivot Table in Microsoft Excel
See Microsoft Excel: Tips and Tricks for similar articles.The following steps show how to insert a pivot table. A pivot table is an interactive table that can be used to analyze, organize, and summarize large amounts of data. Pivot tables make it easy to rearrange data, quickly displaying it in different ways. Before inserting a pivot table, make sure the data you want to analyze is in an organized table and that your data includes a header row, no empty rows or columns, and no subtotals.
This feature works the same in all modern versions of Microsoft Excel: 2010, 2013, and 2016.
- Select any cell in the set of data you want to analyze.
- On the Insert tab, in the Tables group, click the PivotTable command, then select PivotTable.
- In the Create PivotTable dialog box, verify that Excel has selected the correct range, select where you want the pivot table to show up (you will almost always want to select New Worksheet), and click OK.
- In the PivotTable Field List, which opens up on the right (left in Excel 2007/2010) of the worksheet in which your pivot table will be located, drag and drop fields from your data into the Report Filter (Page fields go here), Column Labels (Column fields go here), Row Labels (Row fields go here), and Values (Data fields go here) boxes.
- In the image below, fields have been dragged into the boxes as the first step in creating a report.
- In the image below, fields have been dragged into the boxes as the first step in creating a report.
- Excel assumes you want to sum the values of the Data field (the field in the Values box). To perform a different calculation such as Count or Average:
- Click the field name and select Value Field Settings.
- Select the calculation you want to perform and click OK.
- Click the field name and select Value Field Settings.
- To change the format of the numbers in the pivot table:
- Click the field name and select Value Field Settings.
- Click Number Format.
- In the Format Cells dialog box, select the number format category, the number of decimal places to show, and whether or not to display a comma (if applicable), then click OK.
- In the Value Field Settings dialog box, click OK.
- Click the field name and select Value Field Settings.
Related Articles
- Use Excel 365 to create a Sorting Hat and House Point Scoreboard
- How to Use the VLOOKUP Function in Microsoft Excel
- How to Group and Ungroup Data in a List in Microsoft Excel
- How to Use the Fill Handle in Microsoft Excel
- How to Record a Macro in Microsoft Excel
- How to Use the Quick Analysis Tool in Microsoft Excel
- How to Format Numbers in Microsoft Excel
- How to Add Shapes in Microsoft Excel
- How to Quickly Name Multiple Single Cells in Microsoft Excel
- How to Insert a Slicer in a Pivot Table in Microsoft Excel
- How to Create a Pivot Table Timeline in Microsoft Excel
- How to Insert a Chart in Microsoft Excel
- How to Set Locale in Microsoft Excel
- How to Convert a List to a Table in Microsoft Excel
- How to Use the LEFT and RIGHT Functions in Microsoft Excel
- How to Add a Macro to the Quick Access Toolbar in Microsoft Excel
- How to Insert Clip Art in a Microsoft Excel Worksheet
- How to Select a Range of Cells in Microsoft Excel
- How to Use Smart Lookup in Microsoft Excel
- How to Split the Worksheet Window in Microsoft Excel
- Microsoft Excel 2016 Isn't Much Different from Excel 2013 or Excel 2010
- How to Accept and Reject Changes in Microsoft Excel
- How to Insert a Pivot Table in Microsoft Excel (this article)
- How to Use Ink Equations in Microsoft Excel
- How to Create a Formula That Spans Multiple Microsoft Excel Worksheets
- How to Use the CONCATENATE Function in Microsoft Excel
- How to Set Tracking Options in Microsoft Excel
- How to List Day Names in Excel without Dates
- How to Freeze Panes in Microsoft Excel