Editing a pivot table in Excel means changing what data it shows, how it's grouped, or where the fields sit

A pivot table is a summary of your data that Excel builds for you — it groups rows, adds up numbers, and counts things automatically. Once you've created one, you can change almost everything about it without starting over. You can move fields around, add or remove data, change how numbers are calculated, and filter what appears on screen.

The most common edits are moving a field from one area to another (like moving a column header to the row labels), removing a field entirely, or changing what calculation Excel uses (like switching from sum to average). All of these happen in the same place: the PivotTable Fields panel on the right side of your screen.

Key Takeaways

  • Click anywhere inside your pivot table to open the PivotTable Fields panel, which shows all available fields and where they currently sit.
  • Drag fields between the four areas (Filters, Columns, Rows, and Values) to reorganize what your pivot table displays.
  • Right-click any field name in the Values area and choose "Value Field Settings" to change how Excel calculates that column — from sum to average, count, or other options.
  • Remove a field by dragging it out of any area, or by unchecking its box in the field list at the top of the panel.
  • Refresh your pivot table after editing the original data by right-clicking inside the table and selecting "Refresh".

Opening the PivotTable Fields panel

Before you can edit anything, you need to see the PivotTable Fields panel. This panel shows every field (column) available from your original data and displays four zones where fields can sit: Filters, Columns, Rows, and Values.

Click anywhere inside your pivot table. The moment you do, the PivotTable Fields panel appears on the right side of your screen. If it doesn't appear, go to the PivotTable Analyze tab at the top of Excel, then click "Field List" in the Show group. The panel will open immediately.

The panel shows your field names at the top in a checklist, and below that are four labeled areas: Filters, Columns, Rows, and Values. Each area shows which fields currently live there. This is where all your edits happen.

Moving fields between areas

The most powerful edit you can make is moving a field from one area to another. Moving a field from Rows to Columns changes how your data is organized. Moving a field from Columns to Filters turns it into a dropdown you can use to show only certain data.

To move a field, find it in one of the four areas at the bottom of the PivotTable Fields panel. Click and hold on the field name, then drag it to a different area. For example, if "Month" is in Rows and you want it in Columns instead, click "Month" in the Rows area and drag it up to the Columns area. Release the mouse button, and Excel rebuilds the table instantly.

You can also double-click a field name to move it. Double-clicking cycles it through the areas in order: Filters, Columns, Rows, Values, then back to unchecked. This is faster if you know where you want it to go.

Removing or adding fields

To remove a field entirely, uncheck its box at the top of the PivotTable Fields panel, or drag the field name out of whichever area it's in. Either method works — the field disappears from the pivot table immediately, but your original data stays untouched.

To add a field back, check its box at the top of the panel. Excel will place it in a default area (usually Rows or Values, depending on the data type). You can then drag it to wherever you actually want it.

If you remove a field by accident, just check its box again. There's no undo penalty for adding and removing fields — you're only reorganizing what the pivot table shows, not changing your source data.

Changing how Excel calculates values

By default, Excel adds up (sums) any numbers in the Values area. If you want it to show an average, count, percentage, or something else instead, you need to change the calculation method.

Right-click the field name in the Values area of the PivotTable Fields panel. A menu appears with an option called "Value Field Settings" — click it. A dialog box opens showing the current calculation (usually "Sum") and a list of other options: Average, Count, Max, Min, Product, and several others.

Select the calculation you want, then click OK. Excel recalculates the entire Values column using your new method. If you have multiple fields in the Values area, you can change each one separately — one might sum while another shows the average.

Filtering pivot table data

Any field in the Filters area becomes a dropdown button at the top of your pivot table. Click that button to show only rows that match what you select. This is useful when your pivot table is large and you want to focus on one category at a time.

To add a filter, drag a field from the field list into the Filters area. A dropdown button appears above your pivot table with the field name. Click the dropdown arrow, uncheck the items you want to hide, and click OK. The pivot table instantly shows only the data you selected.

You can have multiple filters active at once. Each filter field gets its own dropdown button, so you can filter by month and by region simultaneously. Remove a filter by dragging the field out of the Filters area.

Refreshing after you change your source data

Your pivot table does not automatically update when you change the numbers in your original spreadsheet. You have to tell Excel to recalculate it.

Right-click anywhere inside your pivot table and select "Refresh" from the menu. Excel scans your source data again and updates all the totals, counts, and groupings. If you added new rows to your original data and want them included, you may need to expand the data range first — right-click, choose "PivotTable Options", go to the Data tab, and update the range to include the new rows.

If you add a completely new column to your source data, you'll need to recreate the pivot table to include that column. The existing pivot table won't see new fields that didn't exist when you first built it.

Undoing edits and common mistakes

If you move a field to the wrong area or change a calculation by accident, press Ctrl+Z to undo. Excel will reverse your last edit and restore the pivot table to how it was before.

A common mistake is dragging a field slightly instead of clicking it, which moves it when you meant to select it. If this happens, undo and try again. Another mistake is forgetting to refresh after changing your source data — the pivot table will show old numbers until you refresh it manually.

If you delete a field from the Values area and it was your only calculation, the pivot table may look empty. Add a field back to the Values area and it will reappear. You can always undo if you're not sure what happened.

Frequently Asked Questions

Can I edit a pivot table if I don't see the PivotTable Fields panel?

Yes. Click anywhere inside the pivot table, then go to the PivotTable Analyze tab at the top of Excel. Click "Field List" in the Show group on the left side. The panel will open on the right. If you still don't see it, make sure you're actually inside a pivot table — clicking a regular cell won't open the panel.

What happens if I drag a field to the wrong area?

You can drag it back to the correct area, or press Ctrl+Z to undo the move. There's no penalty — your original data is never changed, and you can reorganize fields as many times as you want without losing anything.

How do I change a sum to an average in my pivot table?

Right-click the field name in the Values area of the PivotTable Fields panel and select "Value Field Settings". Choose "Average" from the list, then click OK. Excel recalculates that column to show averages instead of totals.

Why doesn't my pivot table show new data I added to the source spreadsheet?

Pivot tables don't update automatically. Right-click inside the pivot table and click "Refresh". If you added new rows beyond where the original data ended, you may need to expand the data range in PivotTable Options first.

Can I have more than one calculation in the same pivot table?

Yes. Add the same field to the Values area twice, then right-click each copy and change one to sum and one to average (or any other calculation). Each will show as a separate column in your pivot table.