Skip to content

Pivot Table Columns and Averages

Premiumadvanced 15 min4 tasks0/78 pts

Go further with PivotTables: summarise with Average, and add a Columns field to cross-tabulate two categories at once.

When to use pivot table columns and averages

Once you can build a basic pivot table, two changes cover most real reports. Adding a field to Columns turns a list into a grid (a cross-tab): regions down the side and products across the top, with a total for every pair.

Changing the summary type answers different questions from the same data. Sum shows how much in total, Count shows how many orders, and Average shows the typical order size. You change it in Value Field Settings without rebuilding anything.

Use this for sales by region and month, headcount by department and grade, or average ticket time by agent and priority.

Worked example: Average order by region and product

The same order list as before: Region, Rep, Product and Sales.

  1. Build a pivot table with Region in Rows and Sales in Values.
  2. Drag Product into Columns. Each product becomes a column.
  3. Click the Sales field in Values > Value Field Settings > Average.
  4. Format the values (for example 0 decimals) from the same dialog, with Number Format.

Result: Each cell shows the average order for that region and product. The Grand Total row and column show averages across all orders, not averages of the averages.

Common errors and how to fix them

  • Grand totals look wrong for averages

    They are the average of all underlying orders, weighted by count, not the mean of the cells above. That is usually the right number.

  • Blank cells in the grid

    There are no orders for that pair. Use PivotTable Options > For empty cells show: 0 if you prefer zeros.

  • Too many columns

    A field with many unique values (such as dates) makes a very wide grid. Group dates by month, or move the field to Rows.

Frequently asked questions

How do I change Sum to Average in a pivot table?

Right-click any value > Summarize Values By > Average, or open Value Field Settings.

Can I show the same field twice?

Yes. Drag Sales into Values twice and set one to Sum and the other to Count.

What is the difference between Rows and Columns?

Both group the data. Rows lists the groups downward and Columns spreads them across, so a field in each makes a two-way table.

How do I show values as a percentage of the total?

Open Value Field Settings, go to the Show Values As tab and choose % of Grand Total, % of Column Total or % of Row Total. The underlying numbers do not change, only how they are shown.

Related lessons

Read the lesson, then try it yourself in a live spreadsheet.