Excel tutorial
/

PivotTables

Advanced

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.

Книга1 - Excel
—☐✕
C4fx0,468397
ABCD
1Row LabelsSum of AmountShare
2Bukhara26 600 00030,0%
3Samarkand20 500 00023,1%
4Tashkent41 500 00046,8%
5Grand Total88 600 000100,0%
6
Готово
One Amount field twice: in UZS and as a share of all sales

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.

Книга1 - Excel
—☐✕
C2fx26600000
ABCD
1Row LabelsSum of AmountSum of Amount2
2Bukhara26 600 00026 600 000
3Samarkand20 500 00020 500 000
4Tashkent41 500 00041 500 000
5Grand Total88 600 00088 600 000
6
Готово

2

Right-click any number in the second column → Show Values As → % of Grand Total.

Книга1 - Excel
—☐✕
C2fx26600000
ABCD
1Row LabelsSum of AmountSum of Amount2
2Bukhara26 600 00026 600 000Без вычислений% от общей суммы% от суммы по столбцу% от суммы по строке% от...% от суммы по родительской строке% от суммы по родительскому столбцу% от родительской суммы...Отличие...Приведённое отличие...С нарастающим итогом в поле...% от суммы с нарастающим итогом в поле...Сортировка от минимального к максимальному...Сортировка от максимального к минимальному...IndexДругие параметры...
3Samarkand20 500 00020 500 000
4Tashkent41 500 00041 500 000
5Grand Total88 600 00088 600 000
6
Готово
The Show Values As submenu: 15 options

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.
Книга1 - Excel
—☐✕
B5fx0,5
ABCDEF
1Sum of AmountColumn Labels
2Row LabelsLaptopMonitorPrinterGrand Total
3Bukhara33,3%60,0%30,0%
4Samarkand16,7%55,6%23,1%
5Tashkent50,0%44,4%40,0%46,8%
6Grand Total100,0%100,0%100,0%100,0%
7
Готово
% of Column Total: every column is 100%. Half of all laptops (50%) were sold in Tashkent

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.

Книга1 - Excel
—☐✕
C2fx25500000
ABCD
1Row LabelsSum of AmountSum of Amount2
2Jan25 500 00025 500 000
3Feb12 000 00012 000 000
4Apr6 400 0006 400 000
5May17 000 00017 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.

Книга1 - Excel
—☐✕
C8fx88600000
ABCD
1Row LabelsSum of AmountRunning total
2Jan25 500 00025 500 000
3Feb12 000 00037 500 000
4Apr6 400 00043 900 000
5May17 000 00060 900 000
6Jul8 500 00069 400 000
7Aug9 600 00079 000 000
8Nov9 600 00088 600 000
9Grand Total88 600 000
10
Готово
The running total in the last month equals the year’s total (88,600,000). It is blank in the Grand Total row — that’s normal

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.

Книга1 - Excel
—☐✕
D2fx1
ABCDE
1Row LabelsSum of AmountShareRank
2Aziz35 100 00039,6%1
3Dilnoza20 500 00023,1%3
4Javohir26 600 00030,0%2
5Malika6 400 0007,2%4
6Grand Total88 600 000100,0%
7
Готово
Sum, % of Grand Total and Rank Largest to Smallest — all three from one Amount field

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.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1RegionAmountRegionShare
2Tashkent25500000Bukhara
3Samarkand12000000Samarkand
4Tashkent6400000Tashkent
5Bukhara17000000
6Samarkand8500000
7Tashkent9600000
8Bukhara9600000
9
10
11
12
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

61 / 154