Percentages and running totals in a PivotTable: Show Values As
Show share of total, percent of column, running total and rank in a PivotTable without formulas — step by step, with examples and common traps.
A number on its own says little. “Tashkent sold 41.5 million” — is that good? “Tashkent brought in 47% of all sales” — now that’s a conclusion.
Show Values As displays PivotTable numbers in a different way: share of the grand total, percent within a column, month-by-month running total, rank. No formulas — Excel rebuilds the calculation itself, and it stays correct whatever you change in the PivotTable.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | Share | |
| 2 | Bukhara | 26 600 000 | 30,0% | |
| 3 | Samarkand | 20 500 000 | 23,1% | |
| 4 | Tashkent | 41 500 000 | 46,8% | |
| 5 | Grand Total | 88 600 000 | 100,0% | |
| 6 |
Adding a share (% of Grand Total)
1
Drag the Amount field into Values a second time. An identical Sum of Amount2 column appears — we show the percentage separately so we don’t lose the amount in money.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | Sum of Amount2 | |
| 2 | Bukhara | 26 600 000 | 26 600 000 | |
| 3 | Samarkand | 20 500 000 | 20 500 000 | |
| 4 | Tashkent | 41 500 000 | 41 500 000 | |
| 5 | Grand Total | 88 600 000 | 88 600 000 | |
| 6 |
2
Right-click any number in the second column → Show Values As → % of Grand Total.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | Sum of Amount2 | |
| 2 | Bukhara | 26 600 000 | 26 600 000 | |
| 3 | Samarkand | 20 500 000 | 20 500 000 | |
| 4 | Tashkent | 41 500 000 | 41 500 000 | |
| 5 | Grand Total | 88 600 000 | 88 600 000 | |
| 6 |
3
Excel applies a percentage format by itself. Make the header meaningful: type “Share” in C1 and press Enter (the result above).
The main options and what they show
- % of Grand Total — share of the whole report total. All cells add up to 100%.
- % of Column Total — share within each column: “what part of laptop sales happened in which region”.
- % of Row Total — share within each row: “what part of Tashkent’s sales were laptops”.
- % of Parent Row Total — in a two-level report, an item’s share of its own group.
- Difference From / % Difference From — difference from a chosen item: growth versus last month.
- Running Total In — how much has accumulated since the start of the year.
- Rank Largest to Smallest — rank: 1 is the biggest.
- No Calculation — back to plain numbers.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Sum of Amount | Column Labels | ||||
| 2 | Row Labels | Laptop | Monitor | Printer | Grand Total | |
| 3 | Bukhara | 33,3% | 60,0% | 30,0% | ||
| 4 | Samarkand | 16,7% | 55,6% | 23,1% | ||
| 5 | Tashkent | 50,0% | 44,4% | 40,0% | 46,8% | |
| 6 | Grand Total | 100,0% | 100,0% | 100,0% | 100,0% | |
| 7 |
Running total — month by month
1
Put the Date field in Rows and group it by month (right-click → Group → Months; more in the “Grouping” topic). Put Amount into Values twice.
2
Right-click the second column → Show Values As → Running Total In.... In the dialog choose the Base Field to accumulate along: Date.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | Sum of Amount2 | |
| 2 | Jan | 25 500 000 | 25 500 000 | |
| 3 | Feb | 12 000 000 | 12 000 000 | |
| 4 | Apr | 6 400 000 | 6 400 000 | |
| 5 | May | 17 000 000 | 17 000 000 | |
| 6 |
3
Click OK and rename the header to “Running total”. Each month now shows total sales since the start of the year.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | Running total | |
| 2 | Jan | 25 500 000 | 25 500 000 | |
| 3 | Feb | 12 000 000 | 37 500 000 | |
| 4 | Apr | 6 400 000 | 43 900 000 | |
| 5 | May | 17 000 000 | 60 900 000 | |
| 6 | Jul | 8 500 000 | 69 400 000 | |
| 7 | Aug | 9 600 000 | 79 000 000 | |
| 8 | Nov | 9 600 000 | 88 600 000 | |
| 9 | Grand Total | 88 600 000 | ||
| 10 |
Pro level: growth and rank
Month-over-month growth. Add Amount to Values once more → Show Values As → % Difference From... → Base Field: Date, Base Item: (previous). You see by how many percent each month rose or fell versus the previous one; the first month stays blank because there is nothing to compare with.
Rank. In a PivotTable by manager, choose Rank Largest to Smallest (Base Field — Manager). Even when the PivotTable is sorted alphabetically, each manager’s position is visible. The same field three times — amount, share and rank — is the clearest format for management.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | Share | Rank | |
| 2 | Aziz | 35 100 000 | 39,6% | 1 | |
| 3 | Dilnoza | 20 500 000 | 23,1% | 3 | |
| 4 | Javohir | 26 600 000 | 30,0% | 2 | |
| 5 | Malika | 6 400 000 | 7,2% | 4 | |
| 6 | Grand Total | 88 600 000 | 100,0% | ||
| 7 |
Try it in the simulator
Calculate the share with a formula: type =СУММЕСЛИМН($B$2:$B$8;$A$2:$A$8;D2)/СУММ($B$2:$B$8) in E2 and fill it down to E4. Tashkent gives 0.4684 — the same 46.8% as in the PivotTable.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Region | Amount | Region | Share | ||||||||||||||||||||
| 2 | Tashkent | 25500000 | Bukhara | |||||||||||||||||||||
| 3 | Samarkand | 12000000 | Samarkand | |||||||||||||||||||||
| 4 | Tashkent | 6400000 | Tashkent | |||||||||||||||||||||
| 5 | Bukhara | 17000000 | ||||||||||||||||||||||
| 6 | Samarkand | 8500000 | ||||||||||||||||||||||
| 7 | Tashkent | 9600000 | ||||||||||||||||||||||
| 8 | Bukhara | 9600000 | ||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 | ||||||||||||||||||||||||
| 12 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.