Skip to content

Pivot tables and charts

A pivot table collects totals from a table with headers, on a separate sheet. A chart draws the data of a range right on the sheet: column, bar, line, area, pie and scatter charts.

Pivot table

  1. Below the sheets, next to the sheet tabs, open the Spreadsheet menu (three dots) → Create pivot table.
  2. In the New pivot table window: Source is the sheet; Range is the area with headers in the first row (for example A1:D200); Result sheet is the name of the new sheet.
  3. Tick the fields for Rows and Values. For each value, choose the aggregate: SUM, COUNT, COUNTA, AVERAGE, MIN or MAX. Columns is an optional field for splitting by columns.
  4. Optionally: Filter (a field), Condition (Include or Exclude) and Value; Sort (Name or Value) and Order (Ascending or Descending). Click Create. If the pivot table cannot be built, the window does not close, and it states the reason. To close the window without saving, use the × button, Escape or a click on the dimming. On a phone the window is a bottom sheet: swipe its handle down, since there is no × button.
  5. A new sheet with the pivot table opens. It is read-only, and it recalculates itself when the source data changes. To change the settings, open the pivot sheet and choose Set up pivot table in the Spreadsheet menu: there are Save, Refresh and Delete.

Chart

  1. Select a range (or stand in any cell: the whole filled area is taken) and click Insert chart on the toolbar.
  2. The type is chosen from the data. The chart is placed to the right of the range, and the Chart editor opens next to it. Each change is applied at once; undo is Ctrl+Z. The chart lies on top of the cells: the selection and the copy frame are not visible under it, frozen rows and columns do not cover it, and when scrolling it goes under the column letters and row numbers. For the selected chart, the action panel (pencil, Download PNG, bin) stands above the frame. At the very top of the sheet, where there is no room above the frame, it is inside the frame in the top right corner.
  3. In the editor: Type — six tiles with an icon and a name (Column chart, Bar chart, Line chart, Area chart, Pie chart, Scatter chart), the chosen one is marked; Data range (sample A1:B10, + Apply); Series — a segment By columns | By rows; the checkboxes First row — series names and First column — category labels; Title (sample “Sales by month”); Legend — a segment Without legend | Right | Bottom; X-axis label and Y axis label (samples “Month”, “Amount”), Minimum Y and Maximum Y (samples 0 and 100); the series Colors, Width, Height and Delete chart. A tile or a segment applies at once when clicked.
  4. On the sheet, drag the chart by its frame and stretch it by a corner. A double-click or Enter opens the editor. Delete removes the chart. The selected chart has the buttons Edit, Download PNG and Delete. When you hover over a column, point or slice, a label appears next to it: the value in large type, with the category and the series below it (on a pie chart, the category and the share in percent; on a scatter chart, “X; Y” and the series); the other series fade.
  5. Look. Series are coloured with eight colours, always in the same order (the ninth series takes the first colour again; in the dark theme the same colours come in their own shades); a colour chosen in Colors stays as chosen. Columns are narrow, with a rounded end and a gap between them; the zero line is darker than the grid. On line and area charts, points are marked with circles if there are no more than 12 of them, otherwise only the last one is marked; area fill is light. Pie slices are separated by a stripe, and the percentage on a slice is white or dark, whichever reads better. The legend is shown when there is more than one series (on a scatter chart, the X column is not a series), and always on a pie chart (unless Without legend is chosen); on a new chart it is at the bottom. Labels under the axis are all shown while they fit, otherwise every second one or fewer. The chart looks the same in PNG, in print and in Excel.
  6. A mini-chart inside a cell is built by the SPARKLINE formula: a line, columns or a bar.
  • Pivot tables and charts are created and changed only by those who can edit the spreadsheet. Download PNG is also available in view mode, unless the owner of the link has forbidden copying.
  • Pivot table: the source can be up to 50 000 rows, with up to 10 fields in Rows and up to 10 in Values, and the result is up to 10 000 cells. The filter in the window is one field and one value. Sorting is by the first value.
  • A pivot sheet cannot be edited by hand. Neither the source sheet nor the pivot sheet can be deleted while a pivot table exists.
  • A sheet can have up to 50 charts, and up to 12 series colours. Width: 160–2000 points; height: 120–2000 points.
  • If the range has no numbers, the chart shows only No numeric data: there is no legend, either on the sheet or in the PNG.
  • A chart title can be up to 200 characters; axis labels up to 100.
  • On a pie chart, a share is labelled with a percentage if it is at least 6%.
  • Labels that the chart writes itself are in the interface language: the series name without a title (“Series 1” in English, “Серия 1” in Russian); axis abbreviations (“20K”, “3M” in English, “20 тыс.”, “3 млн” in Russian); TRUE/FALSE (ИСТИНА/ЛОЖЬ in Russian) in category labels; and the text of an empty chart. The same applies to Download PNG, to printing, and to chart pictures when exporting to Excel: the language is that of the person who downloads or prints.
What you see on the screen Why What to do
In the window: Choose a row field and a value field. A field in Rows or Values is not ticked Tick the fields
Invalid range: it needs a header row and at least one data row. The range is written incorrectly, or has no data Fix the range
Column headers in the range must be different. The header row has repeats Rename the repeated headers
The pivot is too large. Narrow the range or remove fields. The pivot table exceeded its limits (source rows, result cells) Reduce the range, or the number of fields
Could not build the pivot. Check the range and fields. The pivot table cannot be built for another reason Check the range and the fields
Remove the pivot table first The source sheet or the pivot sheet is being deleted Delete the pivot table in Set up pivot table, then the sheet
On a chart: No numeric data. In the editor: There are no numbers in the range - check the range and the orientation of the series. The range has no numbers for the chosen orientation Change the range, or Series
Specify the range of the form A1:B10 The range is written incorrectly Fix it
Check chart options A change did not pass the check of the chart parameters Restore the previous value of the field