Create a Pivot Table in Excel — Step-by-step

Turn a sheet of raw data into a summary report using an Excel Pivot Table. This guide walks through selecting your data, inserting a Pivot Table, placing fields, changing the calculation, adding filters, refreshing results, and basic formatting.

What the video covers

Insert a Pivot Table from an existing data table, place fields into Rows/Columns/Values/Filters, change value calculations, refresh results, and apply basic formatting.

Watch the video on YouTube

Step-by-step instructions

  1. Prepare your data
    Open the workbook and make sure the table has a single header row, consistent columns, and no fully blank rows or columns.
  2. Select the data and insert a Pivot Table
    Click anywhere inside the data table, then use Insert PivotTable. Confirm the selected range and choose to place the Pivot Table on a new sheet, then accept to create it.
  3. Open the PivotTable Fields panel
    A new sheet opens with the Pivot Table frame and the PivotTable Fields (field list). This is where you add fields to build the report.
  4. Add fields to Rows and Columns
    Drag categorical fields (e.g., Product, Region, Date) into the Rows area to group rows. Optionally drag fields into Columns to create a cross-tab layout.
  5. Place numeric fields into Values and set calculations
    Drag numeric fields (e.g., Sales, Quantity) into the Values area. To change from Sum to Count or Average, open the field's value settings and choose the desired aggregation.
  6. Add filters for focused views
    Drag a field into the Filters area to enable a report-wide filter (for example, Year or Salesperson) so you can quickly limit the table.
  7. Refresh and format the Pivot Table
    After changing the source data, right-click the Pivot Table and choose Refresh to update. Use the Pivot Table Design or formatting tools to adjust layout, subtotals, and number formats.

Watch the video

Video thumbnail for Create a Pivot Table in Excel — Step-by-step Play tutorial

Watch on YouTube

Why it matters

Pivot Tables let you quickly summarize, explore, and analyze large tables without manual formulas. They save time and reveal insights by grouping and aggregating data.

Check your result

You should see a new worksheet with a blank Pivot Table layout and the PivotTable Fields panel. Dragging fields into Rows, Columns, and Values should immediately update the table with aggregated results.

Troubleshooting

If the Pivot Table shows incorrect or missing data, confirm your source range includes all rows and headers and has no empty header cells. If values don't aggregate as expected, change the field's value setting (e.g., Sum, Count, Average). If changes to the source data don't appear, right-click the Pivot Table and choose Refresh.