
Step 1 of 8
Connect Sales Records to a Pivot Summary
Prepare the supplied sales register and distinguish detailed source records from the separate pivot summary that will aggregate them.
Learning path · Level 5 · Tutorial 1
Create sales summaries by category and month in Excel or LibreOffice Calc using a small register you enter yourself or an existing clean register. Choose suitable aggregations, verify totals, and distinguish refreshing existing records from including newly added rows.
Connect Sales Records to a Pivot Summary
Prepare the supplied sales register and distinguish detailed source records from the separate pivot summary that will aggregate them. 2 min
Create the Pivot and Place Its Fields
3 min
Choose SUM or COUNT for the Question
3 min
Group Dates by Year and Month
4 min
Format Revenue and Make Totals Clear
2 min
Reconcile the Summary with the Source
Verify the original category-and-month pivot summary against the complete source records and a targeted category-month trace. 2 min
Refresh Edits and Include New Records
4 min
Deliver a Verified Monthly Sales Summary
Use the completed pivot summary to report January 2026 revenue and verify that it includes the full updated source dataset. 2 min

Step 1 of 8
Prepare the supplied sales register and distinguish detailed source records from the separate pivot summary that will aggregate them.
A pivot table does not replace your sales register. The register keeps one row for each sale, such as a Sale ID, its date, category, and revenue. A pivot summary is a separate, aggregated view that answers questions across many rows—for example, revenue by category and reporting month.
Keep the detailed records on Sales. Later, the pivot summary will be placed on Summary.

The source records remain intact; the pivot summary calculates grouped answers from them.
Create and save a local workbook as sales-summary.xlsx in Excel or sales-summary.ods in Calc. Use worksheets named Sales and Summary.
On Sales, enter the four headers in row 1 and the 12 records below. Enter Sales as plain numbers, not currency text. Enter each Date as a real spreadsheet date, then display the column as yyyy-mm-dd.
These supplied records are the practice dataset used for all later checkpoints.
Enter this register on Sales, starting in A1. Each row is one sale.
| Sale ID | Date | Category | Sales |
|---|---|---|---|
| S001 | 2025-01-05 | Books | 120 |
| S002 | 2025-01-18 | Books | 80 |
| S003 | 2025-01-09 | Stationery | 50 |
| S004 | 2025-01-22 | Stationery | 70 |
| S005 | 2025-12-03 | Books | 150 |
| S006 | 2025-12-16 | Books | 50 |
| S007 | 2025-12-08 | Stationery | 90 |
| S008 | 2025-12-21 | Stationery | 110 |
| S009 | 2026-01-04 | Books | 200 |
| S010 | 2026-01-19 | Books | 100 |
| S011 | 2026-01-10 | Stationery | 60 |
| S012 | 2026-01-23 | Stationery | 120 |
The initial ordinary source range includes the header row and every record: Sales!$A$1:$D$13 in Excel notation, or $Sales.$A$1:$D$13 in Calc notation.
Do not include a separate total calculation in that range. The header row tells the pivot table what each column represents; rows 2–13 provide the individual sales.
Before any later time-based summary, confirm that Date cells are real dates—not date-looking text. If a date has been imported as text, use the date-conversion approach you learned earlier before continuing.
Tip
You may use an existing clean register for your own work, provided it has comparable fields and valid dates. However, the revenue and record-count checkpoints in this tutorial apply only to the supplied 12-record register.
Which statement correctly distinguishes the initial source register from a pivot summary and identifies the complete initial source range?

Step 2 of 8
A pivot table reads the ordinary source range and creates a separate aggregated output; it does not replace the sales records.
For this practice, work in your local sales-summary.xlsx workbook in Excel or sales-summary.ods in Calc. Select the complete register, including the header row: Sales!$A$1:$D$13 in Excel or $Sales.$A$1:$D$13 in Calc. Do not include any separate total calculation.
Field areas have distinct jobs: Rows creates groups down the left, Values/Data Fields supplies the measurement, and Columns will hold a grouping dimension later. For now, Category belongs in Rows and Sales belongs in Values/Data Fields; leave Columns empty.

Rows define the category groups; Values/Data Fields provide the aggregated Sales measurement. The Columns area is intentionally empty at this stage.
Create the pivot output on the separate Summary worksheet. Follow the instructions for the spreadsheet application you are using. In either application, stop after placing Category and Sales: date columns will be added in a later step.
When the app generates a caption for the Sales value field, read it carefully. It reports the aggregation currently selected by the app; do not assume that a default is automatically the right answer for every business question.
Example
Sales, select A1:D13.Sales!$A$1:$D$13.Summary!A1; then create the PivotTable.Example
Sales, select A1:D13.$Sales.$A$1:$D$13 and set the results location to Summary.A1.Match each item to its role in the pivot layout.
Match the field or area with its role.
Tap an item and then its matching pair.
In one sentence, report your local pivot layout: name the field placed in Rows/Row Fields, the field placed in Values/Data Fields, and what the pivot output now displays. Mention the generated caption you see for the Sales field.
Write at least 80 characters (0/80).

Step 3 of 8
Your source records remain individual sales. A pivot summary groups those records and applies one calculation to a selected value field.
With Category already in Rows / Row Fields, choose the calculation from the business question. “How much revenue?” requires adding sales amounts. “How many sale records?” requires counting a field that is filled in on every record.

The field and aggregation determine whether the pivot reports money or the number of records.
For the upcoming monthly revenue summary, the practice pivot must use SUM of Sales. You can briefly add a separate count without replacing that revenue field.
Use COUNT of Sale ID for the number of sale records. Every row in the supplied register has a Sale ID, so the count grand total must be 12. Keep the count as a whole number, then remove that temporary field. The pivot should finish with Sales as the only value or data field, aggregated by SUM.
Example
Excel: In the PivotTable Fields pane, open the dropdown for Sales in Values, choose Value Field Settings, and select SUM. Drag Sale ID into Values. Open its dropdown, choose Value Field Settings, and select COUNT. Confirm the Count of Sale ID grand total is 12, displayed as a whole number. Then open the Count of Sale ID dropdown and choose Remove Field. Confirm that Sum of Sales remains in Values.
Example
LibreOffice Calc: Click a cell in the pivot table, then choose Data > Pivot Table > Insert or Edit. Continue with the current selection until the Layout dialog appears. Double-click the Sales button in Data Fields, choose SUM, and confirm. Drag Sale ID into Data Fields. Double-click its Data Fields button, choose COUNT, and confirm the layout. Verify a count total of 12. Open Data > Pivot Table > Insert or Edit again, return to Layout, and drag the Sale ID button out of Data Fields. Leave Sales in Data Fields with SUM selected, then confirm the layout.
Tip
The displayed captions can vary slightly by application, but they should clearly identify the field and function. Before continuing, verify that the remaining value or data field is the sales sum—not a count.
Warning
An unexpected Count of Sales is a diagnostic clue. A pivot can use COUNT when a Sales field contains text-looking amounts or mixed nonnumeric entries. COUNT counts nonempty entries in the selected field; it does not calculate revenue or a distinct-customer total.
Selecting SUM is necessary for a revenue question, but it does not convert text into numbers. Keep the canonical practice register clean. If this occurs in another register, inspect its Sales values separately and use your established cleaning workflow before relying on a revenue total.
Example
Separate diagnostic example: imagine another register where Sales contains numeric 125, text-looking “75”, and numeric 40. Count of Sales can report nonempty entries, but that result is not revenue. Changing the function to SUM is required to answer a revenue question; however, the text-looking amount still needs source-data attention for the total to be trustworthy.
Do not enter this example into the supplied Sales worksheet.
A manager asks, “How much revenue did Books generate?” Which value-field choice answers that question?
You are preparing the practice pivot for the next revenue task. A temporary record count has been checked, and the pivot briefly shows Count of Sales although you expected revenue. Which complete response is best?

Step 4 of 8
Add Date to the pivot table’s Columns / Column Fields area to turn the category summary into a time-based summary. Date defines the reporting periods; SUM of Sales remains the measurement.
The source spans 2025 and 2026, so group Date by Years and Months. Make Year the outer column level and Month the inner level. This preserves January 2025 and January 2026 as different reporting periods instead of adding them together.

Year is the outer grouping and month is the inner grouping, so the two January periods remain separate.
Excel (desktop)
If Excel automatically created date groups: retain Years and Months in Columns. If Quarters also appears, drag Quarters out of Columns. Do not group the field again.
If raw individual dates remain: click a displayed date item, right-click, and choose Group. In the Grouping dialog, select Years and Months, then confirm. Remove Quarters if it appears.
In either case, verify that year headers are outside month headers and that the periods run chronologically.
LibreOffice Calc
Summary.Verify the result: 2025 and 2026 are outer labels, with Jan nested under each applicable year. January 2025 and January 2026 must be separate columns.
Tip
A pivot summary can show only periods that contain records. In this register, months between January 2025, December 2025, and January 2026 may not appear. An absent month with no records is not evidence that date grouping failed.
Warning
If grouping is unavailable or every date behaves like unrelated text, first check that the source Date cells are real spreadsheet dates. Use the date-conversion approach you learned earlier, refresh the pivot, and then try grouping again.
Which pivot layout correctly preserves the reporting periods for this sales register?
Look at the pivot summary on your local Summary worksheet. In one or two sentences, identify whether its columns use the safe year-and-month layout rather than a month-only layout, and confirm whether January 2025 and January 2026 are separate reporting periods.
Write at least 60 characters (0/60).

Step 5 of 8
Your pivot already uses SUM of Sales with Category in Rows / Row Fields and grouped Date columns. Now make the revenue easy to read: number formatting changes how a value appears, not the value used in the calculation. For example, an underlying value of 1200 can display as $1,200.00.
Excel: Open Value Field Settings for the generated Sales value field. Choose Number Format, then choose a US dollar currency format with two decimal places.
Calc: Select the pivot’s numeric output cells, choose Format > Cells > Numbers, and select a USD currency format with two decimal places. Check the format again after later pivot updates.

Read across a category row for its category total; read down a month column for its month total; the bottom-right cell is the grand total.
A pivot summary contains several useful totals. They answer different questions, so do not add them together again.
These are readings from the initial SUM of Sales pivot summary.
| Displayed total | What it summarizes | Amount |
|---|---|---|
| Books row total | Books across all months | $700.00 |
| Stationery row total | Stationery across all months | $500.00 |
| Jan 2025 column total | Both categories in Jan 2025 | $320.00 |
| Dec 2025 column total | Both categories in Dec 2025 | $400.00 |
| Jan 2026 column total | Both categories in Jan 2026 | $480.00 |
| 2025 year subtotal | Jan and Dec 2025 | $720.00 |
| Grand Total | All categories and months | $1,200.00 |
Tip
If you temporarily inspect a COUNT of Sale ID summary, format the result as a whole number, such as 12—not as currency. Currency formatting belongs to revenue values summarized with SUM of Sales.
For this compact practice layout, hide the redundant year subtotals but keep grand totals for both rows and columns. The year groups still organize the month columns; only their intermediate totals disappear.
Excel: Select the Years field in the pivot, open Field Settings, and set Subtotals to None. On the PivotTable Design controls, keep Grand Totals set to On for Rows and Columns.
Calc: Click inside the pivot table and choose Data > Pivot Table > Insert or Edit. Continue with the current source selection until the Layout dialog opens. In Column Fields, double-click the Years field button to open its field options. Under Subtotals, choose None, then confirm. In the Layout dialog, open Options and keep Total rows and Total columns selected; confirm the layout. In versions that offer it, right-click inside the pivot and choose Edit Layout to reach the same Layout dialog.
Confirm that monetary cells still show US dollars and two decimal places after changing the layout.
Tip
A compact summary keeps these visible:
It removes intermediate totals such as a 2025 subtotal when the year-and-month headers already make the grouping clear. In Calc, reapply the USD format to the numeric output if the pivot update changed its display format.
Match each pivot label or layout choice to its meaning or correct treatment.
Tap an item and then its matching pair.

Step 6 of 8
Verify the original category-and-month pivot summary against the complete source records and a targeted category-month trace.
A pivot grand total is more trustworthy when it agrees with a calculation made independently of the pivot. On Summary, choose an empty cell well away from the pivot output—for example, H2 if it is clear—and total the complete source amounts range.
Use every original amount from the first amount through the twelfth amount. Do not total only cells that happen to be visible in the pivot summary. The header is not an amount, and the independent check must remain outside both the source records and pivot output.

Compare the pivot result with a total calculated directly from every source amount.
In Excel, enter this formula in a clear cell outside both the source records and pivot output. Format the result as US dollars.
=SUM(Sales!D2:D13)$1,200.00
Expected result after applying US-dollar formatting.
In LibreOffice Calc, enter this formula in a clear cell outside both the source records and pivot output. Format the result as US dollars.
=SUM($Sales.$D$2:$D$13)$1,200.00
Expected result after applying US-dollar formatting.
Now compare more than one level of the pivot summary. Row totals test category aggregation; column totals test each displayed reporting period; the grand total tests the complete revenue amount.
For the original 12-record register, all of these checkpoints should agree with the source records.
Expected values in the original revenue pivot summary.
| Category | Jan 2025 | Dec 2025 | Jan 2026 | Category total |
|---|---|---|---|---|
| Books | $200.00 | $200.00 | $300.00 | $700.00 |
| Stationery | $120.00 | $200.00 | $180.00 | $500.00 |
| Month total | $320.00 | $400.00 | $480.00 | $1,200.00 |
Example
Trace one specific intersection as well as the totals. The Books value for January 2025 comes from S001 ($120.00) and S002 ($80.00), giving $200.00.
This targeted check adds evidence that both category and reporting period are correct. A month-only grouping would blend January 2025 and January 2026 into $800.00 while leaving the overall grand total unchanged.
Warning
If a checkpoint does not match, diagnose in this order:
Sales!$A$1:$D$13 in Excel or $Sales.$A$1:$D$13 in Calc.SUM of Sales, not a count.After correcting the identified issue, refresh the pivot and compare again. Do not change the source records during this original-summary verification.
A matching grand total is necessary, but it is not sufficient. Different layouts can still add to the same overall amount. Pair the independent total with at least one traced category-month cell before treating the summary as verified.
Write a brief verification note using the checks above:
Write at least 80 characters (0/80).

Step 7 of 8
Your pivot summary currently uses the fixed ordinary source range Sales!$A$1:$D$13 (or $Sales.$A$1:$D$13 in Calc). Two updates behave differently:
Treat these as two separate checks: refresh an in-range edit first; then inspect and extend the source range for the appended record.

A refresh recalculates records already within the source boundary. An appended row must first be included in that boundary.
First update an existing record.
Sales, change D10 for sale S009 from 200 to 240. Keep the amount as a number, without a currency symbol.Summary.In Excel, click in the PivotTable and choose PivotTable Analyze > Refresh, or right-click and choose Refresh.
In Calc, click in the pivot table and use Data > Pivot Table > Refresh (or the equivalent Refresh command available from the pivot table context menu).
The source address is still A1:D13, so this edit is included. The grand total should now be $1,240.00: the original total increased by $40.00.
Use the command for your application, then read the pivot grand total.
| Application | Action | Expected grand total |
|---|---|---|
| Excel | Refresh the PivotTable | $1,240.00 |
| Calc | Refresh the pivot table | $1,240.00 |
Tip
If the total does not change, confirm that Sales!D10 contains the numeric value 240, then refresh the pivot again. Do not append the next record until this first checkpoint is correct.
Now append a genuinely new record in row 14 of Sales:
S013 | 2026-01-28 | Stationery | 60
Enter the date as a real spreadsheet date and display it as yyyy-mm-dd. Enter 60 as a number without a currency symbol.
Before relying on a refresh, inspect the pivot source address. The old fixed address ends at row 13, so row 14 is not necessarily part of it.
Sales!$A$1:$D$14, then refresh.$Sales.$A$1:$D$14, then update or refresh. If your Calc version does not offer an editable source selection, recreate the pivot from that expanded range using the same established layout on Summary.After the expanded range is used, the grand total must be $1,300.00. Independently total D2:D14 outside the source records and pivot output to reconcile it.

Change the ordinary source range from A1:D13 to A1:D14 before treating the appended sale as part of the summary.
Warning
A refresh recalculates the records selected by the pivot; it is not proof that an ordinary fixed source range has grown. After updating, confirm all three conditions: the address ends in row 14, the grand total is $1,300.00, and revenue values still display as US dollars with two decimal places. Also check that the January 2026 column remains under year 2026 rather than being combined with January 2025.
After completing the two updates in order, report:
S009 and refresh it.S013 record in the source range and update the pivot.Write at least 80 characters (0/80).

Step 8 of 8
Use the completed pivot summary to report January 2026 revenue and verify that it includes the full updated source dataset.
Your final pivot summary answers a specific revenue question without changing the underlying Sales records. With SUM of Sales in Values/Data Fields, read the column nested under 2026 and then Jan—not the separate January column under 2025.
In the completed workbook, January 2026 revenue is $340.00 for Books, $240.00 for Stationery, and $580.00 overall. The pivot summary is on Summary; the source records remain on Sales.

Read the month within its year group so that January 2025 and January 2026 are not combined.
Summary
A number is useful only when its scope is clear. Before reporting from a pivot summary, confirm that the question, layout, aggregation, source coverage, and check totals all describe the same dataset.
Sales!$A$1:$D$14 in Excel, or $Sales.$A$1:$D$14 in Calc; it contains 13 records.Write a concise final sales report. State the January 2026 revenue for Books, Stationery, and the overall month. Then identify the aggregation and date grouping used, and explain how the source range, record count, and grand total support that this report uses the complete updated dataset.
Write at least 120 characters (0/120).
Congratulations! You completed: Summarize Sales by Category and Month with Pivot Tables
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks