Modifying a pivot table means changing what data it shows, how it's organized, or what calculations it displays

Once you've built a pivot table in Excel, you can rearrange it without rebuilding from scratch. The most common changes are moving fields between areas (rows, columns, values), filtering to show only certain data, and adjusting the calculations. All of these happen through the Pivot Table Fields panel on the right side of your screen — the same panel you used to create the table originally.

If the Pivot Table Fields panel isn't visible, click anywhere inside your pivot table and it will appear. If it still doesn't show, go to the PivotTable Analyze tab (or PivotTable tab in older Excel versions) and click Field List.

Key Takeaways

  • Drag fields up, down, left, or right within the Pivot Table Fields panel to move them between rows, columns, and values areas.
  • Click the dropdown arrow next to a field name to filter out specific values or change how the field is sorted.
  • Double-click a value field to change its calculation from sum to average, count, or other options.
  • Right-click inside the pivot table and select Refresh to update it when your source data changes.
  • Removing a field from the panel deletes it from the pivot table without affecting your original data.

Moving fields to rearrange your pivot table

The Pivot Table Fields panel has four drop zones at the bottom: Filters, Columns, Rows, and Values. Fields in the Rows area become the leftmost column of your table. Fields in the Columns area become column headers across the top. Fields in the Values area become the numbers in the middle.

To move a field, drag it from the field list at the top of the panel into a different drop zone. For example, if "Region" is currently in Rows and you want it in Columns instead, click and hold on "Region" in the field list, then drag it down to the Columns box. The pivot table updates instantly. You can also drag a field from one drop zone directly to another — drag "Region" from the Rows box to the Columns box without going back to the field list.

To remove a field entirely, drag it out of its drop zone or right-click it and select Remove Field. The field disappears from the pivot table but remains in your original data.

Filtering to show only the data you need

Click the dropdown arrow next to any field name in the Rows or Columns area of the Pivot Table Fields panel. A menu appears with a checkbox next to each value in that field. Uncheck the values you want to hide. For example, if "Region" contains North, South, East, and West, you can uncheck "West" to remove it from the table.

You can also filter by using the filter buttons that appear directly in the pivot table itself. Click the small dropdown arrow in the row or column header, then uncheck the values you don't want to see. Both methods do the same thing — use whichever is faster for you.

To show all values again, click the dropdown and select Select All, or right-click the field in the Pivot Table Fields panel and choose Clear Filter.

Changing how a field is calculated

By default, Excel sums the numbers in your Values area. If you want a different calculation — average, count, minimum, maximum, or others — double-click the field name in the Values box. A window titled Value Field Settings opens.

In the Summarize Values By tab, select the calculation you want from the list on the left. Sum is highlighted by default. Click Average to show averages instead, Count to count how many rows match, or scroll down to see more options like Min, Max, and StdDev. Click OK when you're done. The pivot table recalculates immediately.

You can have the same field appear multiple times with different calculations. Drag the field from the field list into the Values box twice, then set one copy to Sum and the other to Average. Both columns will appear in your pivot table.

Sorting rows and columns in a different order

Click the dropdown arrow next to a field in the Rows or Columns area of the Pivot Table Fields panel. Select Sort A to Z for alphabetical order or Sort Z to A for reverse alphabetical. If your field contains dates, you'll see Sort Oldest to Newest or Sort Newest to Oldest instead.

To sort by the values in your table instead of alphabetically, click inside the pivot table, then click the dropdown arrow in a row or column header. Choose Sort Largest to Smallest or Sort Smallest to Largest. This sorts based on the numbers in your Values area, not the field names themselves.

Updating a pivot table when your source data changes

If you edit the data in the original spreadsheet that your pivot table pulls from, the pivot table doesn't update automatically. Right-click anywhere inside the pivot table and select Refresh. The table recalculates to include your new data.

To refresh all pivot tables in your workbook at once, go to the Data tab and click Refresh All. This is useful if you have multiple pivot tables and want to update them together.

Renaming fields and adjusting labels

To rename a field in your pivot table, right-click it in the Pivot Table Fields panel and select Rename. Type the new name and press Enter. This changes only the label in the pivot table, not the original column name in your source data.

You can also click directly on a field label inside the pivot table and type a new name. For example, click on the word "Region" in your table header and type "Sales Region" instead. Again, this affects only the pivot table display.

Frequently Asked Questions

Can I undo changes I made to a pivot table?

Yes. Press Ctrl+Z (or Cmd+Z on Mac) to undo your last change. You can undo multiple times to go back several steps. If you've made many changes and want to start over, delete the pivot table and create a new one from your source data.

What happens if I delete a pivot table by accident?

Press Ctrl+Z immediately to undo the deletion. Your original data is never affected — deleting a pivot table only removes the table itself, not the spreadsheet it was built from.

Can I move a pivot table to a different location in my workbook?

Yes. Click anywhere inside the pivot table, then go to the PivotTable Analyze tab and click Move PivotTable. Choose whether to move it to a new location on the same sheet or to a different sheet entirely. Your data and structure stay the same.

Why does my pivot table show "Grand Total" rows and columns I don't want?

Right-click the pivot table, select PivotTable Options, and go to the Totals & Filters tab. Uncheck Show grand totals for rows or Show grand totals for columns to remove them. Click OK.