How to Use Pivot Tables in Excel: A Beginner’s Guide (With Real Project Example)
Learn how to use Pivot Tables in Excel step-by-step. Follow our beginner's guide with a real project example to analyze data and create instant reports.
MICROSOFT EXCEL


Pivot Tables in Excel: A Beginner’s Guide With 3 Real Examples
Picture a spreadsheet with 5,000 sales rows. Each row has a date, a region, a product and a revenue figure. Your boss asks: “What did each region sell? Which month was best? Which product is carrying us?”
You could filter, copy, add up, and repeat that for every region, month and product. Or you could write a pile of SUMIFS formulas. Both work, but both get old fast, especially when the next question is slightly different from the last one.
A PivotTable answers all three questions in about 30 seconds, with no formulas. I recently used this exact method to turn a client’s weekly data into full monthly and yearly reports, so everything below comes from real work, not theory.
What is a PivotTable?
A PivotTable takes a long list of records and turns it into a short summary. You choose what to group by and what to add up, and Excel does the rest.
Here’s the idea in miniature. Raw data on the left, PivotTable (total sales by region) on the right:
Four rows became two. With 5,000 rows, that difference is huge.
When should you use one?
Not for everything. If you have 20 rows, a quick SUM is fine, and for one-off answers a ready-made Excel calculator can save you the setup. A PivotTable earns its place when:
You need totals by category. Sales by region, month, product, salesperson, whatever.
You need to count things. A PivotTable doesn’t only add numbers. It can tell you how many orders each staff member processed this month.
You want to compare categories. Say you sell laptops, phones and tablets across several regions. A PivotTable shows patterns that are almost impossible to spot in a long list.
You want reports without formulas. Sum, Count, Average, Max and Min are all just settings you pick. (When you do want a formula, this step-by-step Excel formula example shows how they work in a small project.)
The sample data
We’ll use this small sales list for all three examples. Type it into Excel (or copy and paste it) so you can follow along. Real data will have thousands of rows, but the steps are identical.
Before you build anything, check your own data for these:
Every column has a heading.
No completely blank rows or columns in the middle.
No merged cells.
If any of these are off, fix them first. They cause most PivotTable headaches (more on that below).
How to create a PivotTable
Click any cell inside your data. You don’t need to select everything, since Excel finds the range itself.
Go to the Insert tab and click PivotTable.
A box pops up asking for the data range. Check that it covers all your rows and columns, including the headings.
Choose where to put it. New Worksheet is the easiest option for beginners.
Click OK. You’ll see a blank report and a PivotTable Fields pane.
That pane is where everything happens. Your column headings show up as fields, and you drag them into four boxes:
Rows: what you want listed down the side
Columns: what you want across the top
Values: what you want calculated (sum, count, average)
Filters: what you want to narrow the whole report by
Example 1: Total sales by region
You want one total per region. Drag the fields like this and you get the result next to it:
That’s the classic regional performance report, built in two drags.
Example 2: Total sales by month
Same data, different question: which month sold the most?
Newer versions of Excel often group dates into months automatically. If yours doesn’t, right-click any date in the PivotTable, choose Group, and select Months. If your data spans more than one year, select Years as well so January 2026 and January 2027 don’t get mixed together.
March is the clear winner, selling more than January and February combined.
Example 3: Find your best-selling product
Now the question is which product brings in the most money. To rank them, click any number in the Sales column, then right-click and choose Sort → Sort Largest to Smallest. Your top product moves to the top.
Laptops bring in more than half of all revenue. That’s the kind of insight that’s hard to see in a raw list and obvious in a PivotTable.
A real client project
I recently used pivot tables on a freelance project, turning a client’s weekly data into monthly and yearly stats. This is what the finished report looked like:
How to turn a PivotTable into a normal table
Sometimes you only want to send the numbers, not the whole PivotTable. Or you want to paste the figures into a presentation or edit them freely.
The easiest way:
Select the whole PivotTable and copy it (Ctrl + C).
Right-click where you want it and choose Paste Special → Values.
Now it’s plain cells with no PivotTable behind it.
3 common mistakes (and how to fix them)
1. Blank rows in your data. Say you have 1,000 transactions and one fully blank row in the middle. Excel may stop reading there, and everything below it is missing from your report. Delete blank rows before you build the PivotTable.
2. Merged cells. They look neat in a finished report, but they’re bad for raw data. Excel needs the region written on every row, not merged across five of them. Unmerge them and fill in each cell.
3. Forgetting to refresh. Your PivotTable shows 380,000. Tomorrow you add a 20,000 sale to the data, and the PivotTable still says 380,000. PivotTables don’t update on their own. Right-click inside it and choose Refresh, or press Alt + F5. If the new row still doesn’t show up, your source range doesn’t cover it. Turn your data into an Excel Table (Ctrl + T) before building the PivotTable and the range will grow automatically.
Quick questions
What is a PivotTable used for?
Summarizing and comparing data: monthly revenue, sales by region, order counts, department expenses, top products.
Is a PivotTable the same as a regular Excel table?
No. A regular table stores your raw records and gives you filters and headings. A PivotTable summarizes those records into a report.
How do I refresh a PivotTable?
Click inside it, right-click and choose Refresh. You can also use PivotTable Analyze → Refresh, or Data → Refresh All.
Excel Pro Hub © 2025
Excel tutorials, AI workflow guides, and freelance tips. —— Built for people who want to work less and earn more.
Reframe your inbox
Subscribe to our newsletter and never miss a story.
We care about your data in our privacy policy.
Follow us