askvity

How to Create a Pivot Table in Excel Step by Step?

Published in Pivot Table Creation 3 mins read

Creating a pivot table in Excel is a straightforward process that allows you to analyze data effectively. Here's a step-by-step guide:

Steps to Create a Pivot Table

  1. Select Your Data:

    • Start by clicking any cell within the dataset or table you want to analyze. This tells Excel where your data source is. According to the Microsoft Support documentation, it is important to select a cell within the range of data you want to summarize with a pivot table.
  2. Insert PivotTable:

    • Go to the "Insert" tab on the Excel ribbon.
    • Click on the "PivotTable" button. This will open the "PivotTable from table or range" dialogue box.
  3. Choose Data and Location:

    • In the dialog box, you will see the selected data range displayed in the "Table/Range" box. Verify it is correct.
    • Decide where you want to put the PivotTable:
      • New Worksheet: Select "New Worksheet" to place the pivot table in a fresh worksheet. This is generally recommended for better organization.
      • Existing Worksheet: Select "Existing Worksheet" and then select a cell in the "Location" box where you want the top-left corner of the pivot table to start.
  4. Click OK:

    • Once you have made your selections, click the "OK" button. Excel will create a blank pivot table and a "PivotTable Fields" pane will appear on the right side of your screen.
  5. Add Fields to Areas:

    • The "PivotTable Fields" pane lists all the column headers from your data source.
    • Drag the fields you want to analyze into the different areas:
      • Rows: Drag fields here to display them as row labels in your pivot table.
      • Columns: Drag fields here to display them as column labels in your pivot table.
      • Values: Drag fields with numeric values you want to aggregate (sum, average, count, etc.) here. You can often change the summary calculation that's applied to these fields.
      • Filters: Drag fields here if you want to filter data based on the values of this field
  6. Customize and Analyze:

    • The pivot table will update automatically as you add, remove, and rearrange fields.
    • Use the "PivotTable Tools" contextual tabs ("Analyze" and "Design") that appear on the Excel Ribbon when a cell in a pivot table is selected, to further customize the display and formatting, such as:
      • Changing the summary calculation.
      • Adding subtotals or grand totals.
      • Grouping date or number fields.
      • Changing the pivot table style.

By following these steps, you can create powerful, flexible pivot tables for effective data analysis in Excel.

Related Articles