Create an Excel PivotTable and Chart to Compare Sales by Thickness
Question details
Create a summary and chart comparing total foam sales in board feet for each thickness.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A foam sales log contains dimensions, thickness, foam type, order dates, and calculated board feet. The user wants to compare board-foot totals across thicknesses.
- Observed behavior
- The desired result is a PivotTable showing the sum of board feet by thickness and a bar chart comparing those totals.
Check that the sales log has a header for each column, including Thickness and Board Feet. Make sure board-foot values are numeric and thickness values use consistent units.
Create a PivotTable and PivotChart in Excel
Use this method to total board feet by thickness and display the results in a chart.
Select a cell in the sales log, choose Insert > Table, confirm the data range and headers, and select OK.
Select a cell in the table, choose Insert > PivotTable, select where to place it, and select OK.
In the PivotTable Fields pane, drag Thickness to Rows and Board Feet to Values. If Board Feet shows Count, open Value Field Settings and choose Sum.
Right-click a total in the PivotTable and choose Sort > Sort Largest to Smallest.
Select the PivotTable, choose Insert > PivotChart, and select a bar or column chart. Add a chart title that identifies the totals as board feet by thickness.
After adding or changing sales records in the source table, right-click the PivotTable and choose Refresh to update the summary and its PivotChart.

Summarize Board Feet by Thickness in WPS Spreadsheets
Use a PivotTable in WPS Spreadsheets to sum board feet by thickness, then chart the summary to compare sales.
- 1. Open the sales log: Open WPS Spreadsheets and select Open to load the workbook containing the sales log.
- 2. Insert a PivotTable: Select the sales data, including its headers, and choose Insert > PivotTable. Confirm the source range and choose where to place the summary.
- 3. Group and sum the data: Drag Thickness to Rows and Board Feet to Values in the PivotTable field pane. Set the Board Feet value calculation to Sum if needed.
- 4. Sort and chart the totals: Right-click a total and sort largest to smallest. Select the thickness labels and totals, then choose Insert > Chart and select a bar or column chart.
- 5. Refresh the summary: After editing the sales data, right-click the PivotTable and choose Refresh. If you added rows outside the original source range, update the PivotTable's data source first and check that the chart includes the updated summary.

Frequently Asked Questions
Why does the PivotTable count board feet instead of summing them?
Excel may count the field if it contains text or other nonnumeric entries. Check the Board Feet column, refresh the PivotTable, and use Value Field Settings > Sum.
How do I show the highest board-foot total first?
Right-click a value in the PivotTable's board-foot totals and choose Sort > Sort Largest to Smallest.
Will the chart update when I add sales records?
If the records are added to the Excel source table, right-click the PivotTable and select Refresh. Its PivotChart updates with the refreshed summary.
Can I compare a single foam type or date range?
In the PivotTable Fields pane, add Foam Type or Order Date to Filters, then use the filter controls above the PivotTable to select the records to compare.




