Pivot Tables

How to Show Percentage of Total in a Pivot Table

Show each row's share of the grand total, or of its column or row, in an Excel pivot table with Show Values As, and keep the sums next to it.

On this page
  1. Start with a sum
  2. Apply % of Grand Total
  3. Choose a different base
  4. Keep the amount and the share side by side
  5. Set the number format
  6. Check the totals
  7. Share is not change over time

A pivot table can show each row’s share of the total instead of its raw amount. The Show Values As setting does this without changing the sums underneath, so you can still see the amounts if you need them.

Start with a sum

Build the pivot table as usual, with the region in Rows and the sales amount in Values. Check that the value reads Sum of Sales. If it says Count, change the calculation first, because a percentage of a count answers a different question.

Apply % of Grand Total

  1. Right-click any number in the pivot table’s value area.
  2. Choose Show Values As.
  3. Open the list and choose % of Grand Total.
  4. Click OK.

Each row now shows its share of the overall total, and the grand total row reads 100%.

Choose a different base

A percentage always compares against something. The base is the part that equals 100%, and you choose it with the same list:

  • % of Column Total shows each cell as a share of its column.
  • % of Row Total shows each cell as a share of its row.
  • % of Grand Total shows each cell as a share of everything in the table.
  • The parent options compare a value with its group when the layout has nested fields.

Pick the base that matches your question. What share of all sales came from each region? That needs the grand total. If the products run across the columns, what share of each region’s sales came from each product? That needs the row total.

Keep the amount and the share side by side

Often you want both the amount and the share. Drag the sales field into the Values area a second time, then set the second copy to % of Grand Total. Excel names the copy something like Sum of Sales2. You can rename it in Value Field Settings, using the Custom Name box, so the report reads clearly.

Set the number format

Percentages can show more decimal places than you need. To change this, open Value Field Settings, choose Number Format, select Percentage, and set the decimal places.

Check the totals

Shares rounded to whole percents may add up to 99% or 101%. That’s rounding, not an error in the pivot table.

Share is not change over time

A percent of total answers the question what share is this? It doesn’t show how a figure changed from one period to the next. For growth between two periods, you need a different calculation, and the percentage change formula in excel covers that.

The complete guide to pivot tables

What Is a Pivot Table in Excel
Read the guide

Keep exploring

Guides from other topics

All topics →