This Google Sheets pivot table tutorial builds a complete sales report for Summit Ridge Outdoor Supply, a fictional wholesaler in Denver. The data has 480 orders from January to October 2026, with $1,766,417 in revenue and $767,428 in profit. You will end up with four reports and one chart, and you will not need a single SUMIFS formula.

⬇️ Join Free on Skool & Download the Practice File
Free membership · takes 1 minute · the file is in Classroom → Free Downloads from YouTube
Free Google Sheet · opens the Make a copy screen
Watch the video tutorial
The video shows the finished report first. Then it builds each pivot table from the raw data, including the date grouping, two calculated fields, the sort order, a percent of total column, a region slicer and a stacked column chart.
What you will build
- Revenue by region for every month
- Product profit and margin, sorted so the best earners come first
- A sales rep scorecard with orders, units and share of total
- A region slicer for the scorecard
- A revenue by quarter and category chart
The sales data
The Sales Data tab has one row per order, with the header in row 4 and data through row 484. The columns are Order ID, Order Date, Region, Sales Rep, Customer, Category, Product, Units, Unit Price, Revenue and Cost. The order dates are real dates, which matters when you group them later.

Step 1: Create the pivot table
Click the Order ID header, then press Ctrl Shift Down and Ctrl Shift Right to select the table. Open Insert and choose Pivot table. Check that the range reads 'Sales Data'!B4:L484. Choose Existing sheet, pick cell B10 on the first practice tab and click Create.

Step 2: Revenue by region and month
In the editor, add Region to Rows, Order Date to Columns and Revenue to Values. At first you get one column for every day. Right click any date, choose Create pivot date group, then Month.
West leads with $542,119, followed by East at $477,394, South at $418,818 and Central at $328,086. June was the strongest month at $242,226. Central sold only $9,280 in July, a gap that is easy to miss in a long list of orders.

Month grouping adds the same month from different years together. If your data runs over several years, choose Year-Month.
Step 3: Product profit with calculated fields
Create a second pivot table on the next tab. Add Category and then Product to Rows. Add Revenue and Cost to Values. The data has no profit column, so open Values, Add, Calculated Field. Name it Profit, set Summarize by to Custom and enter:
=SUM(Revenue)-SUM(Cost)
Add one more calculated field named Margin %, again with Custom:
=(SUM(Revenue)-SUM(Cost))/SUM(Revenue)

Format the margin column as a percent with one decimal. Do not summarise a row level margin with SUM, because adding percentages gives a number that means nothing.
Step 4: Sort by profit
In the Category box, set Sort by to Profit and the order to Descending. Do the same for Product. Water Sports has the highest revenue at $558,654, but Hiking makes the most profit at $219,958. The 4-Person Tent is the top product with $109,340 in profit, and the Fleece Pullover has the best margin at 55.1%.

Step 5: Sales rep scorecard
On the third tab, add Sales Rep to Rows. Add Revenue, Order ID and Units to Values. Order ID is text, so Google Sheets counts it with COUNTA, which gives you the number of orders. Add Revenue a second time and set Show as to the percent of total option. Sort Sales Rep by SUM of Revenue, descending.
Olivia Martinez is first with $281,173 from 81 orders, which is 15.92% of the total.

Step 6: Add a region slicer
Click inside the scorecard, open Data and choose Add a slicer. Set the column to Region and drag the slicer next to the table. Filter to West and only Olivia Martinez (51.87%) and Jason Lee (48.13%) remain, with a total of $542,119. The percent column now measures share inside the region. Set the slicer back to all regions when you finish.

Step 7: Quarter report and chart
On the fourth tab, add Order Date to Rows, Category to Columns and Revenue to Values. Right click a date and group by Quarter.

Select the quarters and the four categories without the grand total, then choose Insert and Chart. Google Sheets suggests a stacked column chart. Q3 is the largest quarter at $600,569, and Water Sports alone brought in $264,746 of it. Q4 holds only October, so do not compare it with a full quarter.

Pivot table or formulas?
| Task | Pivot table | Formulas |
|---|---|---|
| Region by month summary | A few clicks | About 40 SUMIFS cells |
| Change the layout | Move a field | Rewrite the formulas |
| Fixed report design | Limited | Full control |
| Filter for one team | Add a slicer | Add a criteria cell |
Common mistakes to check
- Dates stored as text cannot be grouped.
- A range that stops early leaves new orders out.
- Different ranges on different pivot tables stop the slicer from working on all of them.
- Sorting by revenue alone can hide which products earn the profit.
Want it ready made?
If you would rather start from a finished report, the Sales KPI Dashboard in Google Sheets is a paid ready-to-use template on Next Gen Templates.
To learn pivot tables, charts and dashboards in order, see the Google Sheets Complete Course. Code NTN-GS20 gives 20% off until 31 December 2026.
Related tutorials
- Sales tracker in Google Sheets
- Sales CRM in Google Sheets
- 5 ways to summarize data in Google Sheets
- Google reference: create and use pivot tables
Download the practice file
The file has the raw data, four practice tabs and four solution tabs.
⬇️ Join Free on Skool & Download the Practice File
Free membership · takes 1 minute · the file is in Classroom → Free Downloads from YouTube
Free Google Sheet · opens the Make a copy screen
Frequently asked questions
How do I create a pivot table in Google Sheets?
Select your data including the header row, open Insert, choose Pivot table, pick a new or existing sheet, then add fields to Rows, Columns, Values and Filters in the editor.
How do I group dates by month in a pivot table?
Right click any date inside the pivot table, choose Create pivot date group, then Month. The source column must hold real dates, not text.
How do I add profit to a pivot table when my data has no profit column?
Add a calculated field under Values with the formula =SUM(Revenue)-SUM(Cost) and set Summarize by to Custom.
Why is my margin percent wrong in the pivot table?
A margin column summarised by SUM adds the row percentages together. Use =(SUM(Revenue)-SUM(Cost))/SUM(Revenue) as a calculated field with Summarize by set to Custom.
Why does my slicer not filter the pivot table?
A slicer only filters pivot tables and charts that use the same data range. Use the identical range on every pivot table.
Does the pivot table update when the data changes?
Yes. Changing a value inside the source range updates the pivot table. New rows need to fall inside the range you selected.
Is the practice file free?
Yes. Use the copy button on this page to make your own copy in Google Drive.
Conclusion
One clean data tab is enough for all four reports. Build the pivot tables on the same range, use calculated fields for anything that involves a ratio, and check the totals against the source before you send the report.
More Google Sheets tutorials
- Payroll Template in Google Sheets: Step by Step Tutorial
- Grant Tracker in Google Sheets: Step by Step Tutorial
- Sales CRM in Google Sheets: Lead Tracker, Pipeline Stages & Follow-Up Alerts (Free Template)
- Sales Tracker in Google Sheets: Daily Log, Monthly Report & Rep Targets (Free Template)
- Employee Skills Matrix in Google Sheets: Heatmap, Skill Gaps & Training Plan
- Purchase Order Tracker in Google Sheets: Free Template with Overdue Alerts



