Create an Excel Pie Chart of Order Values by Country
Question details
Group order values by country and show each country's percentage of the total in a pie chart.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The source worksheet contains a country column and an order-value column, with potentially multiple orders per country.
- Observed behavior
- The desired chart shows one slice per country, sized by its share of the total order value.
Check that the country and order-value columns have headers, country names are consistent, and order values are stored as numbers. A pie chart works best when country totals are positive and there are relatively few countries.
Summarize order values with a PivotTable and create a pie chart
Use a PivotTable to combine multiple orders per country before displaying each country's share.
Select a cell in the source data, then choose Insert > PivotTable. Confirm the data range, choose a location, and select OK.
In the PivotTable Fields pane, drag Country to Rows and Order Value to Values. If Values shows Count instead of Sum, open Value Field Settings and select Sum.
Select the country names and summed values in the PivotTable, excluding the Grand Total row. Choose Insert > Pie Chart and select a pie chart style.
Select the chart, add data labels using Chart Design > Add Chart Element > Data Labels, then open Format Data Labels. Select Percentage and, if desired, Category Name; clear Value if you only want percentages.
Show Country Order Shares in WPS Spreadsheet
Use a PivotTable in WPS Spreadsheet to sum order values by country, then create a pie chart and display percentage labels.
- 1. Open the order data: Open your workbook in WPS Spreadsheet and select a cell in the data containing the Country and Order Value columns.
- 2. Create a PivotTable: Choose Insert > PivotTable, confirm the source range, and choose where to place the PivotTable.
- 3. Summarize by country: Drag Country to the Rows area and Order Value to the Values area. If needed, open the value field settings and change the calculation to Sum.
- 4. Create and label the chart: Select the country names and sums without the Grand Total row, then choose Insert > Pie Chart. Add data labels and use the label formatting options to show percentages.

Frequently Asked Questions
Why does my PivotTable count orders instead of summing their values?
Excel may treat the order values as text. Convert the source values to numbers, refresh the PivotTable, then open Value Field Settings and select Sum.
How do I show country names and percentages on the pie chart?
Select the chart and add data labels through Chart Design > Add Chart Element > Data Labels. In Format Data Labels, select Category Name and Percentage.
How do I update the chart after changing order data?
Right-click the PivotTable and select Refresh. If you added rows outside the original source range, use PivotTable Analyze > Change Data Source to include them first.
What should I use if the pie chart has too many small slices?
Sort the PivotTable by summed order value, select the country names and totals, and choose Insert > Bar Chart. Bars make many country totals easier to compare.




