What you will learn
- Count orders with a pivot table
- Show the average, biggest or smallest number
- Show two kinds of numbers at once
How it works
When you drag a number into Values, Excel adds it up. This is called Sum.
To change it, click the field in the Values box (for example Sum of Amount ▾) and click Value Field Settings. Pick Count, Average, Max or Min, then click OK.
You can also right-click a number in the pivot table and use Summarize Values By.
You can also put two fields in Values. Then you see two columns of numbers.
Where things go
Sum | add up |
Count | how many |
Average | the average |
Max / Min | biggest / smallest |
Example
Make a pivot table. Count how many orders each Region has.
The data (first rows):
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Order | Region | Product | Month | Amount | Status |
| 2 | 1001 | North | Laptop | Jan | $1,370.00 | Shipped |
| 3 | 1002 | North | Laptop | Jan | $790.00 | Shipped |
| 4 | 1003 | West | Phone | Jan | $460.00 | Shipped |
| 5 | 1004 | West | Tablet | Jan | $320.00 | Pending |
| 6 | 1005 | West | Tablet | Jan | $550.00 | Shipped |
| 7 | 1006 | West | Phone | Jan | $710.00 | Pending |
| 8 | 1007 | North | Tablet | Jan | $430.00 | Shipped |
Click inside the data, then Insert › PivotTable › OK. Rows: Region. Values: Count of Order.
The pivot table you get:
| Row Labels | Count of Order |
|---|---|
| East | 8 |
| North | 11 |
| South | 13 |
| West | 16 |
| Grand Total | 48 |
When to use it
- Counting orders for each region
- Average sale for each product
- Biggest order in each month
Common mistakes
- Counting with SumChange Sum to Count in Value Field Settings.
- Using a text field for an averageAverage needs a number field.
- Forgetting which value is whichRename the field in Value Field Settings if it helps.
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.