Skip to content
FindingsAppsBalane GraphicsArticlesVideosExperiment
DETry it
  • Findings
  • Apps
  • Balane Graphics
  • Articles
  • Videos
  • Experiment
  1. Balane Office
  2. /
  3. Sheets
  4. /
  5. Pivot table

Make a pivot table and keep it up to date

A few fields turn a long list into a summary, such as revenue by region and quarter. Sheets shows the result in the dialog before you create it, puts it on its own sheet and recalculates at the press of a button.

Included in SheetsFree, no account
Open in browser↗Microsoft Store↗Google Play↗All about Sheets
Sales Q4Revenue2,48 Mio.vs. last year+8,4 %Orders1.312Nord42 %Süd31 %West18 %Ost9 %
Illustration: Pivot table

What it does

Rows, columns, values
Put fields into rows and columns, several nested if needed. Values are summarised as Sum, Count, Count Numbers, Average, Min, Max or Product.
Preview in the dialog
Every change to the fields immediately shows the first rows of the result. That way you spot a wrong assignment before a sheet is created.
Totals you choose
Grand total column on the right and Grand total row and subtotals at the bottom can each be switched on or off.
Stays linked to its source
Refresh PivotTable recalculates and picks up new rows directly below the source. Edit PivotTable… changes the fields.
AutoFilter with date grouping
Filter by values with a search box, date columns by year and month down to the day, two conditions with And/Or, or the top or bottom n values.
Subtotals with outline
Group rows with SUBTOTAL and a grand total, using eleven functions from sum to variance. An outline for expanding and collapsing groups is created along the way.

What a pivot table is for

A pivot table summarises a long list by its attributes without you writing a formula. Three thousand bookings with date, region, product and amount become a small table: regions in the rows, quarters in the columns, the sum of the amounts in the cells.

The name comes from pivoting: the same data can be rearranged by moving a field from rows to columns. The source stays unchanged. That makes a pivot table the quickest way to ask a list one question and follow it up with the next.

In Excel, you create a pivot table through Insert › PivotTable. Microsoft sets out clear requirements for the source, and they apply in Sheets just the same: data in columns with a single header row, every heading unique and non-blank, no blank rows or columns in the range, one data type per column.

Create PivotTable dialog with source Sales!A1:D49: rows Region, columns Quarter, values Amount as Sum; on the right, a preview with four regions, quarters Q1 to Q4 and a grand total of 74,550.
Fields on the left, result on the right: the preview recalculates with every change.

Example: revenue by region and quarter

The source in the picture is a sales list with 48 rows and four columns: Region, Quarter, Product and Amount. After you select the range, PivotTable… opens the dialog. Sheets uses the first column as the row field and sums the last column, so here it starts with “Sum of Amount” per region.

The plus next to Columns adds a second attribute, the quarter in this example. The preview on the right immediately shows the cross table with a grand total column and row. Under Values, you can switch the summary from Sum to Average or Count, or add a second value field.

An empty cell in the preview means there is no row in the source for that combination. That’s often the first insight already, such as a quarter without sales in one region.

The result on its own sheet

Create adds a new sheet to the right of the source, with a name starting with “Pivot”, and writes the result into it as values with number formats. Header rows and grand totals are highlighted. The source stays unchanged.

When the selection is inside the pivot table, the inspector on the right shows a PivotTable section with the source, the number of fields, and Refresh and Edit…. The same commands are in the Data menu and the command search; Refresh All PivotTables handles the whole workbook.

As in Excel, the pivot table doesn’t recalculate on its own when the source changes. Only Refresh reads the data again, and it includes rows that were added directly below the previous range.

New sheet with the finished pivot table: Sum of Amount by region (East, North, South, West) and quarter, grand total 74,550; in the inspector on the right, the PivotTable section with source Sales!A1:D49, Refresh and Edit….
The pivot table remembers its source and fields. Refresh in the inspector recalculates it.

Choosing the right summary

Sum is the default and suits amounts and quantities. Average shows the mean per group, such as the average order value per region. Min and Max find the smallest and largest value, and Product multiplies all values in a group.

The two count types deserve a closer look: Count counts all non-empty cells, including text. Count Numbers only counts real numbers. If the two differ, the value column contains text, often numbers stored as text. Sum, Average, Min and Max skip such cells.

Several value fields appear side by side, for example Sum and Count of the same amount. That way one table shows revenue and the number of orders per region. If a group contains no number at all, Average returns #DIV/0!.

Common pivot table mistakes

Missing or duplicate headings: each column becomes a field, and its name comes from the header row. Without a header row, Sheets says “For a PivotTable, select a range with a header row.”

Numbers stored as text: if an amount is stored as text, for example after a CSV import, it doesn’t count towards the sum. Running Review and Clean Data… before the analysis is worth it.

Forgetting to refresh: the numbers on the pivot sheet are a snapshot. If you change the source and pass on the result without refreshing, you pass on old numbers. And new rows must sit directly below the source; a blank row in between ends the range.

Pivot, filter or subtotals: which one when

An AutoFilter (⇧⌘L or Ctrl+Shift+L) hides rows and otherwise leaves the list as it is. It fits when you’re looking for individual entries, such as all open invoices from October.

Subtotals… inserts total rows right into the list, after each group of a sorted column. That way you see line items and subtotals together, and the outline at the edge collapses groups. The data should be sorted by the grouping column first.

A pivot table pays off as soon as two attributes matter at once or you need several measures side by side. If you prefer formulas, GROUPBY and PIVOTBY deliver the same as a dynamic array that recalculates immediately when the data changes.

From analysis to report and slide

Ranges of a workbook can be published. Documents, Slides and Reports show them as a table or chart and refresh when you choose. Through the MCP server, Claude can set up pivot tables, filter data and insert charts.

For data from several sources there’s Reports, with query steps such as filter, group and pivot, plus CSV, XLSX and SQLite sources.

How it works

  1. 1

    Select the range

    Select the data range including its header row. Each column needs a unique heading, which becomes the field name.

  2. 2

    Open the dialog

    Choose PivotTable… from the Data menu or the command search (⌘K / Ctrl+K).

  3. 3

    Assign fields

    Use the plus next to Rows, Columns and Values to add fields, and pick a summary for each value field. At least one value field is required.

  4. 4

    Check the preview

    Look at the result under Preview on the right and switch Grand total column and Grand total row and subtotals as needed.

  5. 5

    Create and refresh

    Create puts the result on a new sheet. When the data changes, choose Refresh PivotTable in the inspector or the Data menu.

At a glance

Summaries
7, from Sum to Product
Subtotals
11 functions
AutoFilter
⇧⌘L / Ctrl+Shift+L
Outline
up to 7 levels

Limits

What the feature can’t do yet, or what hasn’t been tested.

  • When saving as XLSX, only the result is kept as values, not the pivot definition. Pivot tables from Excel files also arrive as values.
  • There are no slicers, timelines, calculated fields or grouping of dates by month or quarter inside the pivot table; add such columns to the source beforehand.
  • The first pivot sheet is currently named “Pivot (2)” even if there is no sheet called “Pivot” yet. You can rename it at any time.
  • Each sheet has one AutoFilter; the filter buttons of a formatted table replace any other filter on that sheet.

Frequently asked questions

How do I make a pivot table?

Select a range with a header row, choose Data › PivotTable…, set the fields for rows, columns and values, check the preview and choose Create. The result appears on a new sheet.

Does the pivot table update itself?

No. As in Excel, it recalculates when you choose Refresh. New rows directly below the source are included.

Why are values missing from my sum?

Usually numbers are stored as text in the source. They don’t count towards the sum, although they do count towards Count. Review and Clean Data… finds such cells.

Can I change the fields afterwards?

Yes. Edit PivotTable… opens the same dialog with the current fields; Apply writes the new result to the same sheet.

Is the pivot table kept in Excel?

As values, yes; as an editable pivot table, no. The definition stays in the .bsheet file.

Is there a pivot function as a formula?

Yes. PIVOTBY (PIVOTMIT in German) and GROUPBY (GRUPPIERENNACH) return summaries as a dynamic array that recalculates with every change.

Related

  • Functions in German and EnglishSheets→
  • Analyze CSVReports→
  • Clean dataSheets→
  • Editing Excel filesSheets→
  • Bank reconciliationSheets→
  • Compare workbooksSheets→
  • Treemap chartSheets→
  • Bubble chartSheets→
  • CAGR and difference arrowsSheets→

Balane Office is a long-running experiment: nine office apps, mostly built with AI. The apps are free and save to your own device. About the experiment →

As of Nov 18, 2026

I’m building Balane Office and documenting the decisions, tests and bugs. Nine areas, one open experiment.

AppsDocumentsSheetsSlidesFormsReportsMailContent PlannerPaperworkDialogBalane GraphicsAll features →Chart types
FindingsFindingsExperimentVideosArticle series on hoettler.com ↗Try it
BalaneDevelopment preview noticeLegal noticePrivacySecurity

© 2026 BALANE GmbH

Balane OfficeBalane Office