Blog

Pivot Tables in Excel: A Step-by-Step Tutorial for Beginners

A pivot table tutorial for complete beginners: prepare your data, build your first pivot table, group dates, show percentages, add slicers, and see three real business examples.

This pivot table tutorial is for anyone who has heard the words “pivot table” and quietly hoped nobody would ask them to make one. Here is the good news: a pivot table is mostly clicking and dragging. There are no formulas to write. If you can tick a box, you can build one.

We will use one small sales list from start to finish, and build three summaries that real businesses use every week. If you are new to Excel, our Excel for beginners guide covers the basics you need first.

What a pivot table does

Imagine you have a shoebox full of receipts, and your manager asks, “How much did we sell in each region?” You would tip the box out, sort the receipts into piles, one pile per region, and add up each pile.

A pivot table does exactly that, but in about one second. You give it a list of records, tell it which detail to sort by (the piles) and which number to add up, and it builds the summary for you.

On the left, a list of 12 sales with Date, Region, Rep, Product and Amount. On the right, a pivot table with one row per region: East 4,200, North 3,160, West 2,780, and a Grand Total of 10,140

Twelve rows of sales become a three-line summary. With 12,000 rows, it would take the same one second.

The best part: the pivot table never changes your original data. It only reads it. You can experiment as much as you like, and if a summary looks wrong, just undo it or build a new one.

The sample data

Here is the sales list we will use. To follow along, copy this table into a blank sheet, starting in cell A1.

Date Region Rep Product Amount
2026-01-05 East Priya Laptop 1200
2026-01-09 West Tom Monitor 300
2026-01-14 East Priya Monitor 300
2026-01-20 North Aisha Laptop 1200
2026-01-27 West Tom Keyboard 80
2026-02-03 North Aisha Monitor 600
2026-02-10 East Sam Laptop 2400
2026-02-17 West Tom Laptop 1200
2026-02-24 North Aisha Keyboard 160
2026-03-03 East Sam Monitor 300
2026-03-12 West Lena Laptop 1200
2026-03-19 North Aisha Laptop 1200

Each row is one sale: when it happened, which region and sales rep made it, what was sold, and for how much.

Step 1: prepare the data first

Most pivot table problems are really data problems. Before you build anything, check that your list follows four simple rules:

  1. One row of headings at the top, with a name in every column. No title above it.
  2. No blank rows or columns inside the data. Excel stops reading at the first blank row.
  3. No totals or subtotals typed inside the list. The pivot table will calculate them. If you type them in, they get counted twice.
  4. One type of data per column. The Amount column should only have numbers, and the Date column only dates.

Two versions of the data. On the left, a list with a title row "Q1 SALES!!", a blank row and an "East total" row inside the data, all highlighted red. On the right, the same data as a clean list with one row of headings

Left: three things that break a pivot table. Right: a clean list, ready to go.

The “East total” row on the left is the sneakiest problem. To a person, it is obviously a subtotal. To a pivot table, it is just another sale of $1,500 in a region with no name, so every total ends up wrong.

One extra tip that saves trouble later: click any cell in your data and press Ctrl + T, then click OK. This turns your list into an Excel Table. Tables grow automatically when you add new rows, so your pivot table will include new sales when you refresh it (more on that in Step 5).

Step 2: build your first pivot table

Let’s answer the shoebox question: how much did each region sell?

  1. Click any cell inside your data. You don’t need to select it all; Excel finds the edges itself.
  2. Go to the Insert tab and click PivotTable. (In some versions, you then choose From Table/Range.)
  3. A window opens. Check that the range covers your whole list, choose New Worksheet, and click OK.

Excel opens a new sheet with an empty pivot table on the left and the PivotTable Fields pane on the right. The top of the pane lists your column headings. The bottom has four boxes, called areas:

  • Rows: the piles. Each different value becomes its own row.
  • Columns: a second set of piles, going across.
  • Values: the numbers to add up in each pile.
  • Filters: a filter for the whole pivot table.

Now:

  1. Tick Region. Because it is text, Excel puts it in Rows.
  2. Tick Amount. Because it is numbers, Excel puts it in Values as Sum of Amount.

The PivotTable Fields pane with Region and Amount ticked. Region is in the Rows area and Sum of Amount is in the Values area

Two ticks: Region goes to Rows, Amount goes to Values.

That’s it. You now have your first pivot table: East sold 4,200, North 3,160 and West 2,780, for a grand total of 10,140. You can check the East figure yourself from the sample data: 1,200 + 300 + 2,400 + 300 = 4,200.

If a field lands in the wrong area, just drag it from one box to another. If you want to start again, untick everything.

Step 3: add a second detail

Pivot tables get really useful when you combine two details. Drag Product into the Columns box. Now each region has its own row and each product has its own column:

A pivot table with regions as rows and products as columns. East: Laptop 3,600, Monitor 600. North: Keyboard 160, Laptop 2,400, Monitor 600. West: Keyboard 80, Laptop 2,400, Monitor 300. Grand totals: Keyboard 240, Laptop 8,400, Monitor 1,500, overall 10,140

Regions down the side, products across the top. The blank cell means East sold no keyboards.

In one glance, we learn that laptops bring in most of the money (8,400 of the 10,140), and that the East region sold no keyboards at all. Finding that with formulas would take a lot longer.

Step 4: group dates, show percentages and add slicers

Group dates by month

Remove Product from Columns (drag it back to the field list) and remove Region from Rows. Now tick Date. Excel usually groups dates into months automatically, because a row for every single day is rarely useful. If you see one row per date instead, right-click any date in the pivot table, choose Group, select Months, and click OK.

Show each month as a percentage

Raw numbers are good. Percentages often tell the story faster. Drag Amount into the Values box a second time. You now have two columns, both showing sums. Right-click any number in the second column, choose Show Values As → % of Grand Total, and you get each month’s share of the total.

The PivotTable Fields pane with Months in Rows and two value fields, and a pivot table showing Jan 3,080 (30.37%), Feb 4,360 (43.00%), Mar 2,700 (26.63%), Grand Total 10,140 (100.00%)

February brought in 43% of the quarter’s sales.

Excel names the new column “Sum of Amount2”. To rename it, click its heading cell and type a better name, like % of Total.

Filter with slicers

A slicer is a set of buttons that filters the pivot table with one click. Click anywhere in the pivot table, go to the PivotTable Analyze tab, click Insert Slicer, tick Region, and click OK. Click East, and the whole pivot table shows only East’s sales. Hold Ctrl to pick more than one region. Slicers are especially handy when you share a sheet with people who don’t know pivot tables: they just click buttons.

Step 5: refresh when the data changes

This is the step people forget, so it gets its own heading. A pivot table does not update by itself. If you change a number in the original data or add a new sale, the pivot table keeps showing the old totals until you refresh it.

To refresh, right-click anywhere in the pivot table and choose Refresh. To refresh every pivot table in the workbook at once, go to Data → Refresh All, or press Ctrl + Alt + F5.

If you added new rows below your data and they don’t appear after refreshing, your data probably isn’t an Excel Table. Go back to the tip in Step 1: press Ctrl + T on your data once, then point the pivot table at the table (PivotTable Analyze → Change Data Source). From then on, new rows are included automatically.

Three real business examples

Example 1: sales by region

This is the pivot table we built in Step 2: Region in Rows, Amount in Values. Managers use it to see which areas are growing and which need attention. Add Product to Columns, as in Step 3, to see what each region sells.

Example 2: money by month

This is the pivot table from Step 4: Date in Rows (grouped by month), Amount in Values. It works exactly the same way for expenses: give it a list of expenses with a date and an amount, and you get your spending by month. If your list has a Category column, put Category in Columns and you can see, for example, that marketing costs jumped in March.

Example 3: your top performers

Who sold the most? Put Rep in Rows and Amount in Values. Then sort and filter:

  1. Right-click any number in the Sum of Amount column and choose Sort → Sort Largest to Smallest.
  2. Click the arrow next to Row Labels, choose Value Filters → Top 10, change 10 to 3, and click OK.

A pivot table titled "Top 3 reps, largest first": Aisha 3,160, Sam 2,700, Tom 1,580, Grand Total 7,440

Aisha leads the team. The Grand Total now shows only the three reps that are listed.

Swap Rep for Customer in your own data, keep 10 instead of 3, and you have the classic top 10 customers report: the people worth a thank-you call.

Frequently asked questions

Do pivot tables change my original data?

No. A pivot table only reads your data. You can rearrange, filter or delete a pivot table without touching the original list.

Why does my pivot table say “Count of Amount” instead of “Sum of Amount”?

Excel counts instead of adding when a column contains any text or blank cells, for example a number typed as 1,200 dollars. Fix the data, or right-click a value, choose Summarize Values By → Sum, and then refresh.

Why don’t my new rows appear in the pivot table?

Either you haven’t refreshed it (right-click → Refresh), or the new rows are outside the range the pivot table reads. Turning your data into a Table with Ctrl + T fixes the second problem for good.

Can I make a chart from a pivot table?

Yes. Click in the pivot table and go to PivotTable Analyze → PivotChart. The chart follows the pivot table, including its filters and slicers.

Next step: pivot tables are great for summaries, and lookups are great for finding single values. Learn the modern lookup in our XLOOKUP tutorial, or see pivot-style summaries applied to a small business in simple bookkeeping in Excel.

Want help turning your own data into clear reports? Book a 1-on-1 Excel session. Bring your file, and you will leave with a working pivot table and the confidence to build the next one yourself.