A pivot table adds up each item for you. 1 Drag Item to Rows. 2 Drag Amount to Values.
A pivot table sounds scary, but it is just a fast summary. Say you have a long list of sales, one row per sale. You want to know: how much did each item bring in? How much each month? A pivot table answers in a few clicks, with no formulas.
Before you start
Your list needs headings in row 1 (like Date, Item, Customer, Amount), and no empty rows in the middle.
Make a pivot table
Click any one cell in your list.
Click the Insert tab.
Click PivotTable. (In some versions, then click From Table/Range.)
A small window opens. Excel already selected your list. Leave New Worksheet checked.
Click OK.
A new sheet opens. On the right side is a panel called PivotTable Fields. It lists your headings.
Fill it in: drag the fields
The panel has four boxes at the bottom: Filters, Columns, Rows, and Values.
Drag Item into the Rows box. Each item now shows once, on the left.
Drag Amount into the Values box. Next to each item you now see its total.
That's it. You made a pivot table.
Tip: You can also just check the box next to a field. Words go to Rows, numbers go to Values.
Try other questions
Drag Customer into Rows instead of Item, to see how much each customer spent.
Drag Month into the Columns box, to see each item by month, side by side.
Drag a field out of a box to remove it.
Count instead of add
In the Values box, click the arrow on Sum of Amount.
Click Value Field Settings.
Pick Count and click OK.
Now it shows how many sales, not how much money.
When your list changes
A pivot table does not update by itself. After you add or change rows in the list:
Click inside the pivot table.
Right-click and choose Refresh.
Tip: If your list is a table (Ctrl+T from Lesson 6), new rows are included when you refresh. That is another reason to use tables.
Tip: If the PivotTable Fields panel disappears, click inside the pivot table and it comes back.
Web: Excel on the web can make pivot tables too: Insert, then PivotTable.
Try it
Go to the sheet 9 Sales Log. Click one cell in it, then Insert, PivotTable, OK. Drag Item to Rows and Amount to Values. Which item brought in the most money? Then drag Month to Columns. Last, change Sum of Amount to Count, to see how many sales each item had. You can check your answers on the Answers sheet.