Pivot Tables and Pictures

Sum a table up by its rows and columns, and add pictures to the grid.

Making a pivot table

Select a table with a header row and choose Insert > Pivot Table. The Create Pivot Table dialog takes the selection as its Data Range; choose New Sheet, or Existing Sheet and the cell it starts at, then Create.

The Pivot Table Editor

Select a cell of a pivot table and press Edit, under it, to open the Pivot Table Editor on the right. Each change shows in the pivot table at once.

  • Suggested offers ready-made pivot tables for the data, such as the sum of one column for each value of another.
  • Rows and Columns add a column's values down the side or along the top, each sorted and with its totals if you like.
  • Values sums, counts or averages a column, or summarises it another way under Summarise By, and Show As shows each value as a share of its row, its column or the grand total.
  • Filters leaves out the rows you do not want, by their values or a condition.

When the data changes, the pivot table follows.

Grouping items

Right-click an item of the pivot table, such as a date or a number down the side:

  • Create Pivot Date Group groups dates by year, quarter, month, week day and more.
  • Create Pivot Group Rule groups numbers into buckets of a size you choose, such as 0 to 10, 10 to 20.
  • Select several items and choose Create Pivot Group to gather them as Group 1; type over that name to rename it.
  • Ungroup Pivot Items takes a grouping off again.

The rows behind a value

Double-click a value of the pivot table, or right-click it and choose Show Details, to see every row it sums up on a new sheet.

Slicers

Data > Add a Slicer puts a filter button on the sheet that filters a range or a pivot table by one column. See Sorting, Filtering and Data Tools.

Pictures

  • Insert > Image > Insert Image over Cells places a picture on the sheet, above the grid. Drag it to move it, drag a corner to resize it, and right-click it for Alt Text or Delete.
  • Insert Image in Cell puts a picture inside the selected cell, where it sorts, fills and moves with the cell like any value.
  • The IMAGE function shows a picture from a web address in a cell: =IMAGE("https://example.com/logo.png").

Pictures come from your image gallery, so a spreadsheet kept only in this browser cannot hold any until it is synced.

Was this article helpful?