Skip to content
Skills / Administrative Support / Administrative Assistant Job-Ready / Summarizing Data with PivotTables
Administrative Support

Summarizing Data with PivotTables

15 min read Training Guide

Turn a long list of records into a summary table with an Excel PivotTable or a Google Sheets pivot table, then group dates, filter, refresh and check the totals.

Table of contents

A pivot table answers questions like "How much did each department spend?" or "How many work orders did we close each month?" from a list of hundreds or thousands of rows, without a single formula. You pick which column becomes the rows, which becomes the columns and which gets added up, and the program builds the summary. Excel calls it a PivotTable, written as one word. Google Sheets calls it a pivot table. They work the same way, with a few differences in where things are and how they update.

What You Will Be Able to Do

  • Get a list ready so a pivot table reads it correctly.
  • Build a pivot table in Excel and in Google Sheets.
  • Change what it calculates: sum, count, average or percent of the total.
  • Group dates by month and filter the summary.
  • Keep it up to date, and check that its totals match the source list.

Get the Source List Ready

A pivot table is only as good as the list under it. Check these before you start:

  1. One header row, with a unique name for every column. A blank or repeated header stops the pivot table or makes the fields hard to tell apart.
  2. One record per row, with no blank rows inside the list.
  3. One kind of data per column. Amounts in the Amount column are all numbers. Dates in the Date column are all real dates.
  4. No subtotal or total rows in the list. The pivot table adds them up again and doubles your totals.
  5. Consistent spelling. "Front Office", "Frnt Office" and "Front office " with a trailing space can show up as separate rows in the summary.

In Excel, turn the list into a table first: click in it and choose Insert > Table (Ctrl+T). A PivotTable built on a table picks up new rows when you refresh it.

The Example List

A supply order log:

Date Dept Category Amount
1/6/2026 Front Office Paper 42.00
1/9/2026 Shop Safety 118.50
1/15/2026 Front Office Ink 89.99
1/22/2026 Warehouse Safety 64.25
2/3/2026 Shop Paper 15.00
2/10/2026 Front Office Paper 37.50
2/18/2026 Warehouse Ink 54.00
2/24/2026 Shop Safety 76.75

The list fills A1:D9. The question: how much did each department spend?

Build It in Excel

  1. Click any cell in the list.
  2. Choose Insert > PivotTable. If a menu opens, choose From Table/Range.
  3. Check that the range or table name is right, choose New Worksheet, and click OK.
  4. The PivotTable Fields pane opens on the right. It has four areas: Filters, Columns, Rows and Values.
  5. Drag Dept into Rows. Drag Amount into Values. The Values area shows "Sum of Amount".

You can also check a field's box, and Excel places it for you. Text fields usually go to Rows, and number fields go to Values. Drag a field to a different area to move it, or drag it off the pane to remove it.

Build It in Google Sheets

  1. Select the list, A1:D9, or click in it.
  2. Choose Insert > Pivot table.
  3. Choose New sheet and click Create.
  4. The pivot table editor opens on the right, with Rows, Columns, Values and Filters.
  5. Next to Rows, click Add and choose Dept. Next to Values, click Add and choose Amount. Summarize by is set to SUM.

If the editor closes, click any cell in the pivot table and click the Edit button that appears under it. Google Sheets may also show suggested pivot tables in the editor. Check what a suggestion is doing before you use it.

Read the Result

Both programs build this:

Dept Sum of Amount
Front Office 169.49
Shop 210.25
Warehouse 118.25
Grand Total 497.99

Front Office is 42.00 + 89.99 + 37.50 = 169.49. Each row adds up every record with that department.

Now add a second dimension. In Excel, drag Category into Columns. In Google Sheets, click Add next to Columns and choose Category. The summary becomes a grid, with each department across from each category and totals on both edges. Move Category to Rows, under Dept, and each department gets its own category breakdown instead.

Change What It Calculates

A pivot table can do more than add.

Question Set Values to Example answer
How much was spent? Sum Shop: 210.25
How many orders were there? Count, or COUNTA in Google Sheets Shop: 3
What is a typical order? Average Shop: 70.08
What share of spending? Sum, shown as % of grand total Shop: 42.2%
  • Excel: Click the arrow next to "Sum of Amount" in the Values area and choose Value Field Settings. The Summarize Values By tab changes the math. The Show Values As tab changes how it is shown, such as % of Grand Total.
  • Google Sheets: In the Values section of the editor, change Summarize by, such as from SUM to COUNTA or AVERAGE. To show percentages, change Show as from Default to % of grand total.

Shop's share is 210.25 / 497.99 = 0.4222, or 42.2%. To see a sum and a percentage side by side, add Amount to Values twice and set each one separately.

If Excel shows "Count of Amount" when you expected a sum, some cells in the Amount column are blank or hold text. Excel counts a field like that instead of adding it. Check the source column for numbers stored as text and blank cells, fix them, and refresh.

Group Dates by Month

A Date field in Rows lists every single date, which is too much detail for most questions.

  • Excel: Excel often groups dates on its own when you add them, into years, quarters or months. To choose for yourself, right-click any date in the PivotTable, choose Group, and select Months and Years. Select both. Months alone puts January 2026 and January 2027 in the same row.
  • Google Sheets: Right-click a date in the pivot table and choose Create pivot date group, then pick a grouping. Choose one that includes the year, such as Year-Month, for the same reason. Ungroup pivot items undoes it.

With Dept in Rows and the date grouped by month in Columns, the example gives:

Dept Jan 2026 Feb 2026 Grand Total
Front Office 131.99 37.50 169.49
Shop 118.50 91.75 210.25
Warehouse 64.25 54.00 118.25
Grand Total 314.74 183.25 497.99

Labels vary. Excel may show "Jan" with a separate Years field, and Google Sheets shows its own month format.

Filter and Sort the Summary

  • Filter a whole pivot table. In Excel, drag a field such as Category into Filters, then pick values from the drop-down above the PivotTable. In Google Sheets, click Add next to Filters, choose the field, and use the drop-down that reads Showing all items to pick values.
  • Filter the row labels. In Excel, use the arrow next to Row Labels. In Google Sheets, use the filter options for that field.
  • Sort by the totals. In Excel, right-click a number in the Values column and choose Sort > Sort Largest to Smallest. In Google Sheets, in the Rows section, set Order to Descending and Sort by to the value field, such as SUM of Amount.

Keep It Up to Date

This is the biggest difference between the two programs.

Change to the source Excel PivotTable Google Sheets pivot table
You edit a value in the list Updates only when you refresh Updates on its own
You add rows inside the source range Updates when you refresh Updates on its own
You add rows below the source range Included on refresh only if the source is a table Not included until you change the range
  • Refresh in Excel: Right-click inside the PivotTable and choose Refresh. To refresh every PivotTable in the file, choose PivotTable Analyze > Refresh > Refresh All.
  • Change the source range in Excel: Choose PivotTable Analyze > Change Data Source. A source set up as a table makes this unnecessary.
  • Change the source range in Google Sheets: Open the editor and edit the range at the top.

Warning: An Excel PivotTable that was not refreshed shows yesterday's numbers with no sign that anything is stale. Refresh before you print, copy or report from one.

Check the Totals

Never send a summary you have not checked against the source.

  1. Grand total. Compare it with =SUM(D2:D9) on the source sheet. Both should be 497.99.
  2. Row count. Set Values to Count. The grand total of the count should equal the number of records, here 8.
  3. Strange rows. A row with a blank label, shown as "(blank)" in Excel, or two rows for what should be one department, points to blank cells or misspelled labels in the source. Fix the source, then refresh.
  4. One cell by hand. Pick one number, such as Shop in February, and add it up from the list: 15.00 + 76.75 = 91.75.

In Excel, you can double-click any number in a PivotTable to open a new sheet listing the records behind it. That is the fastest way to see what went into a number that looks wrong.

You cannot type over the numbers in a pivot table, because they are calculated. When you click a PivotTable cell while writing a formula in Excel, Excel writes a GETPIVOTDATA formula. It keeps pulling the right number even if the PivotTable is rearranged.

Common Mistakes

Mistake What it costs
Leaving a total row in the source list Every total in the summary is doubled
Not refreshing an Excel PivotTable A report built on old numbers
Adding rows below a plain source range The new records never appear in the summary
Grouping dates by month without the year Two Januaries counted as one
Inconsistent labels in the source One department split across several rows
Numbers stored as text in the value column A count where you expected a sum

Check Your Understanding

1. You built an Excel PivotTable of hours by technician last week. Today a coworker corrected three entries in the source list, but the PivotTable shows the same totals. Why?

Excel PivotTables do not update on their own. Right-click the PivotTable and choose Refresh, then check the grand total against a SUM of the source column.

2. Your pivot table shows "Count of Amount" with numbers like 4 and 7 instead of dollar totals. What do you check?

In Excel, this happens when the Amount column has blank cells or text. Look for numbers stored as text or blank cells, fix them, refresh, and change the value setting back to Sum. In Google Sheets, check that Summarize by is SUM.

3. A summary of calls by month shows January with twice as many calls as any other month. The log covers January 2025 through March 2026. What went wrong?

The dates were grouped by month without the year, so January 2025 and January 2026 landed in one row. Group by month and year, or use Year-Month in Google Sheets.

4. The grand total in your pivot table is 18,640, but =SUM of the source column is 9,320. What is the likely cause?

The pivot table total is exactly double, so the source range probably includes a total row at the bottom. Remove it from the source, or move it below a blank row outside the range, and refresh.

Key Takeaways

  • Start with a clean list: one header row, no blank rows, no total rows and consistent labels.
  • Rows and Columns set the layout, and Values sets what gets calculated.
  • Change Sum to Count, Average or % of grand total to answer different questions.
  • Group dates by month and year, never by month alone across several years.
  • Google Sheets pivot tables update on their own. Excel PivotTables need a refresh.
  • Check the grand total against a SUM of the source before you share the summary.