Excel PivotTables can turn transaction data into group comparisons, rankings and monthly progress reports without building separate formulas for each result. The techniques are useful for analysts, managers and Excel users who need to answer follow-up questions quickly. Mynda Treacy (MyOnlineTrainingHub) [MVP] demonstrates these techniques using a sales table with dates, regions, reps, categories and amounts.
A PivotTable summarizes source data by placing fields into areas such as Rows, Values and Filters. A basic arrangement with Region and Rep in Rows and Amount in Values shows sales by region, with each rep listed beneath the relevant region. That hierarchy matters: it gives Excel a parent group to use for calculations such as a rep's percentage of regional sales.
From that starting point, the same data can answer several different questions. You can compare each rep's contribution with their region, rank reps without rearranging their alphabetical listing, filter the report to top performers, or summarize monthly sales over time. The result changes as you adjust the fields and filters, so the layout should reflect the question you need to answer.
This workflow is for people who report on grouped numeric data, such as sales by region and rep. The example uses a year of sales across four regions, with seven reps in each, and includes order date, region, rep, product category and sales amount. Similar structures can be used for other measures, such as employee hours by department or supplier spending by cost center.
The example data is formatted as an Excel Table named Sales. To follow the demonstrated layout, start with a table that has fields you can group by and a numeric value to summarize. The video uses Excel's “Summarize with PivotTable” command with a cell selected in the table, then places the new PivotTable on an existing worksheet.
Select a cell in the source table and choose Summarize with PivotTable. Choose the worksheet destination, then place Region in Rows, Rep below Region, and Amount in Values. Right-click a value and choose Number Format to remove unnecessary currency symbols or decimal places.
To show each rep's contribution, add Amount to Values a second time. Right-click a number in that second value field and choose Show Values As > % of Parent Row Total. With Rep nested under Region, each rep's value is divided by its region's total. Format the result as a percentage if needed.
To rank reps, add Amount to Values again and select Show Values As > Rank Largest to Smallest. Set the base field to Rep. With Region above Rep in Rows, the ranking starts over within each region, while the reps can remain listed alphabetically.
To show a chosen number of high or low performers, open the Row Labels drop-down, confirm the selected field is Rep, and choose Value Filters > Top 10. Change the number to five and select Amount as the value. Despite the menu's name, it can be used for a different count or for bottom results.
To compare performance in a category, add Category as a report filter and select a category such as Furniture. The top-five list and ranking then use sales for that category. Keeping Region in Rows produces a separate top-five list for each region; removing Region instead shows the top five across the company.
To show sales progress over the year, remove the rep analysis fields and put Order Date in Rows and Amount in Values. Group the dates by month using the date field's Group menu. Add Amount to Values again and choose Show Values As > % Running Total In, using the months as the base field.
The running total adds each month's sales to the preceding months, then expresses the accumulated amount as a share of the full year's sales. In the example, the total reaches 100% in December. This shows how the PivotTable can represent progress through a period, rather than only displaying monthly amounts.
A Top 10 filter does not always mean the top ten: the dialog lets you set a different number, and it can also return the bottom items. Check which field is selected and which value the filter uses before relying on the result. The field arrangement changes the meaning of the result: keeping Region above Rep creates a ranking per region, while removing Region makes the comparison company-wide.
Filtering also changes what the displayed calculations represent. With Furniture selected, the percentages and ranks use the filtered sales; the percentage is a share of the filtered regional total, not the original all-category total. If you need to compare both views at once, the demonstrated alternative is to copy the PivotTable alongside the original and clear the category filter in one copy.
Date grouping depends on the period you want to report. The example has only one year, so it groups by month; with multiple years of data, the demonstration notes that grouping by years and quarters may also be useful. Use a format that makes the values easy to read, and label repeated value fields clearly so readers can distinguish amounts, percentages and ranks.
Add the value field a second time, then choose Show Values As > % of Parent Row Total. Place the contributor field beneath the group field in Rows.
Add the value field again, choose Show Values As > Rank Largest to Smallest, and set the base field to the contributor field. Nest that field beneath Region in Rows.
Yes. Open the row field's drop-down, choose Value Filters > Top 10, and change the count to five. Select the value field to rank by.
Group the date field by month, add the sales field to Values a second time, then choose Show Values As > % Running Total In and use the months as the base field.