Chart & Visualization Issues

Create an Excel Pie Chart of Order Values by Country

John WilsonJohn Wilson Dec 2, 2026 868 views

Question details

Group order values by country and show each country's percentage of the total in a pie chart.

Create a Pie Chart of Order Values by Country in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Create a PivotTable

Select a cell in the source data, then choose Insert > PivotTable. Confirm the data range, choose a location, and select OK.

2
Group and sum the orders

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.

3
Insert a pie chart

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.

4
Show percentages

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.

Consider a bar chart for many countries: Small pie slices can be difficult to compare. Sort the PivotTable by summed order value and use Insert > Bar Chart for a clearer comparison.
Create charts in WPS Spreadsheet

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. 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. 2. Create a PivotTable: Choose Insert > PivotTable, confirm the source range, and choose where to place the PivotTable.
  3. 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. 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.
Group orders by country and show each country's share in a pie chart.Open and edit Microsoft Excel XLSX files.Use familiar spreadsheet and chart tools in a free office suite.
microsoft office alternative - wps office

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.