Excel tutorial
/

PivotTables

Intermediate

How to create a PivotTable in Excel: step-by-step guide

Build a PivotTable from scratch with Insert → PivotTable: picking the range, dragging fields, the tabular layout and the most common mistakes.

Creating a PivotTable takes three stages: pick the source, choose where the PivotTable goes, and drag fields into areas. The first time it takes 2 minutes, after that — 15 seconds.

As an example, we’ll take a computer shop’s sales table and build a “regions × products” report. The result is below — we’ll get there in 7 steps.

Книга1 - Excel
—☐✕
A2fxRow Labels
ABCDEF
1Sum of AmountColumn Labels
2Row LabelsLaptopMonitorPrinterGrand Total
3Bukhara17 000 0009 600 00026 600 000
4Samarkand8 500 00012 000 00020 500 000
5Tashkent25 500 0009 600 0006 400 00041 500 000
6Grand Total51 000 00021 600 00016 000 00088 600 000
7
Готово
The goal: regions in rows, products in columns, sales amount at each intersection

A PivotTable in 7 steps

1

Click any single cell in the source table. You don’t need to select the whole table — Excel finds its edges itself.

Книга1 - Excel
—☐✕
B3fxSamarkand
ABCDEFG
1DateRegionManagerProductQtyAmount
215.01.2025TashkentAzizLaptop325 500 000
320.02.2025Samarkand1DilnozaMonitor512 000 000
410.04.2025TashkentMalikaPrinter26 400 000
505.05.2025BukharaJavohirLaptop217 000 000
618.07.2025SamarkandDilnozaLaptop18 500 000
722.08.2025TashkentAzizMonitor49 600 000
812.11.2025BukharaJavohirPrinter39 600 000
9
Готово

2

Open the Вставка tab and click Сводная таблица. In Microsoft 365 a menu drops down — choose From Table/Range.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Сводная таблицаРекомендуемые сводные таблицыТаблица
Таблицы
Рисунки
Иллюстрации
Рекомендуемые диаграммыСводная диаграмма
Диаграммы
B3fxSamarkand
ABCDEFG
1DateRegionManagerProductQtyAmount
215.01.2025TashkentAzizLaptop325 500 000
320.02.2025SamarkandDilnozaMonitor512 000 000
410.04.2025TashkentMalikaPrinter26 400 000
5
Готово

3

A dialog opens (Create PivotTable in Excel 2016–2019, PivotTable from table or range in Microsoft 365). Check that Table/Range covers the whole table — Sheet1!$A$1:$F$8. Keep New Worksheet and click OK.

Книга1 - Excel
—☐✕
B3fxSamarkand
ABCDEFG
1DateRegionManagerProductQtyAmount
215.01.2025TashkentAzizLaptop325 500 000
320.02.2025SamarkandDilnozaMonitor512 000 000
410.04.2025TashkentMalikaPrinter26 400 000
505.05.2025BukharaJavohirLaptop217 000 000
618.07.2025SamarkandDilnozaLaptop18 500 000
722.08.2025TashkentAzizMonitor49 600 000
812.11.2025BukharaJavohirPrinter39 600 000
9
ГотовоСреднее: 4234317,0952Количество: 48Сумма: 88920659

4

A new sheet shows an empty PivotTable placeholder and the PivotTable Fields pane on the right. The PivotTable starts at A3: rows 1–2 are left free for filters.

Книга1 - Excel
—☐✕
A3fxPivotTable1
ABCD
1
2
3PivotTable1
4
5
6
7
Готово
An empty PivotTable: the field list is ready, the areas are still empty

5

Drag the Region field to the Rows area. Or simply tick it — text fields go to Rows automatically.

Книга1 - Excel
—☐✕
A1fxRow Labels
ABCD
1Row Labels
2Bukhara
3Samarkand
4Tashkent
5Grand Total
6
Готово
Each region appears once — duplicates are merged

6

Drag the Amount field to the Values area. Ticking a numeric field also sends it to Values, named Sum of Amount.

Книга1 - Excel
—☐✕
B2fx26600000
ABCD
1Row LabelsSum of Amount
2Bukhara26 600 000
3Samarkand20 500 000
4Tashkent41 500 000
5Grand Total88 600 000
6
Готово

7

Drag the Product field to the Columns area — the report becomes a cross-tab (the result above). Changed your mind? Drag Product from Columns to Rows and the report is rebuilt instantly.

The field list: 5 things to know

  • Tick or drag. When ticked, text and date fields go to Rows, numbers go to Values. To put a field in a specific area, drag it.
  • Removing. Untick the field or drag it out of the area and off the pane.
  • Order matters. With two fields in Rows, the upper one is the outer group: Region → Product = products inside each region. Swap them and the report starts with products.
  • Dates. In Excel 2016 and Microsoft 365 a date field dropped into Rows is often grouped automatically into years, quarters and months.
  • The pane only shows inside the PivotTable. Click a cell outside it and the pane hides — that’s not a bug.

Pro level: make a PivotTable look like a plain table

The default Compact layout stacks all row fields into a single “Row Labels” column. That report is awkward to copy, look up with VLOOKUP or filter.

Click inside the PivotTable and open the Design tab:

  1. Report Layout → Show in Tabular Form — each field gets its own column with real headers (Region, Product).
  2. Report Layout → Repeat All Item Labels — blank cells are filled with the region name.
  3. Subtotals → Do Not Show Subtotals — removes the subtotal under each region.

The result is a clean “long” table you can copy and reuse in other reports.

Книга1 - Excel
—☐✕
A3fxBukhara
ABCD
1RegionProductSum of Amount
2BukharaLaptop17 000 000
3BukharaPrinter9 600 000
4SamarkandLaptop8 500 000
5SamarkandMonitor12 000 000
6TashkentLaptop25 500 000
7TashkentMonitor9 600 000
8TashkentPrinter6 400 000
9Grand Total88 600 000
10
Готово
Tabular Form + Repeat All Item Labels: every row has both the region and the product

Try it in the simulator

Find one PivotTable intersection with a formula: type =СУММЕСЛИМН(D2:D8;A2:A8;"Tashkent";B2:B8;"Laptop") in H2. The result equals the Tashkent × Laptop cell of the PivotTable — 25500000.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1RegionProductQtyAmountTashkent × Laptop
2TashkentLaptop325500000
3SamarkandMonitor512000000
4TashkentPrinter26400000
5BukharaLaptop217000000
6SamarkandLaptop18500000
7TashkentMonitor49600000
8BukharaPrinter39600000
9
10
11
12
Лист1
Готово

Has ExcelLab been useful?

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

Support us
Previous

59 / 154