Track Product Sales and Count Items in Excel with a WPS Office PivotTable
Question details
The user needs to create a single Excel/WPS Spreadsheets sales table and use a PivotTable to count product quantities and summarize monthly sales instead of maintaining separate worksheets.
- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- The user records each product sale in separate monthly worksheets and wants easier reporting, filtering, and yearly summaries.
- Observed behavior
- Separate worksheets make monthly and yearly reporting harder; a single table with Date, Item, and Quantity columns is the recommended data structure.
Make sure all sales records are consolidated into one range with clear column headings such as Date, Item, and Quantity. Remove blank rows, blank columns, or merged cells so the PivotTable can read the full dataset reliably.
Create a Single Sales Table and PivotTable to Count Items by Month
Use this method when you want one data source for all transactions and need monthly, quarterly, or yearly summaries without duplicating worksheets.
Excel and WPS Spreadsheets work best with a single, well-designed data table. Once all sales are listed as rows, a PivotTable can count or sum quantities and group dates into reporting periods.
Open WPS Office Spreadsheets, create a new sheet, and add the column headings Date, Item, and Quantity. Enter each sale as a new row below those headings, with one row per transaction.
Click any cell inside the data range, go to the Insert tab, and select PivotTable. Choose New Worksheet, confirm the data range, and click OK.
In the PivotTable Fields pane, drag Date to the Rows area, Item to the Rows area, and Quantity to the Values area. If you need transaction counts, set the Quantity field to Count; if you need units sold, keep it as Sum.
Right-click any date in the PivotTable, choose Group, and select Months, Quarters, or Years. Adjust the row order so Item appears inside Date for item counts by period.
Use the PivotTable filter drop-downs, or go to the PivotTable Analyze/Options tab and choose Insert Slicer for Date or Item to switch between monthly views without duplicating worksheets.
Build a Monthly Sales PivotTable in WPS Office Spreadsheets
Use WPS Office Spreadsheets to consolidate all product sales into one table and create a PivotTable that counts items by item and summarizes them by month, quarter, or year—no separate monthly sheets needed.
- 1. Open WPS Office Spreadsheets: Download and launch WPS Office, then open a new or existing workbook containing your sales records.
- 2. Format the sales data as a table: Select the range with Date, Item, and Quantity columns, go to the Home tab, and choose Format as Table so new rows are included automatically.
- 3. Insert a PivotTable: Click any cell inside the table, go to the Insert tab, and click PivotTable. Choose New Worksheet and confirm the table range.
- 4. Configure rows and values: In PivotTable Fields, drag Date and Item to Rows and Quantity to Values. Use Value Field Settings to switch between Count and Sum.
- 5. Group and filter the periods: Right-click a date in the PivotTable, choose Group, select Months/Quarters/Years, and insert a Date slicer for quick monthly views.

Frequently Asked Questions
How do I group daily sales into months in a WPS PivotTable?
Right-click any date cell inside the PivotTable, choose Group, and select Months. You can also select Quarters or Years to create higher-level summaries from the same Date field.
Should I use Count or Sum for the Quantity field?
Use Sum to add up the units sold. Use Count when you want the number of sales transactions, not the total quantity. You can change it in Value Field Settings from the PivotTable Fields pane.
How do I update the PivotTable after adding new sales rows?
If the data range is formatted as a table, refresh the PivotTable by going to the PivotTable Analyze tab and clicking Refresh. New rows in the table are then included automatically.
Can I show only one month without creating a separate worksheet?
Yes. Insert a Date slicer from the PivotTable Analyze/Options tab and select the month you want to view, or use the Row Label date filter.
What if my sales data is already split across several monthly sheets?
Consolidate the sheets into one table first. Copy the transaction rows into a single sheet with the same Date, Item, and Quantity columns, then build the PivotTable from that consolidated range.




