How to sort pie charts by percentage in Google Sheets

Reading Time: 5 minutes

Google Sheets has a lot of options for charts and other visual illustrations which can be used for all kinds of reasons and seasons–pie charts being one of the most common. Knowing how to plot a nice pie chart is a skill often taken for granted. Learning how to sort pie charts by percentage in Google Sheets is therefore one thing we can hardly afford to ignore.

Pie charts are a useful visual element in data representation. They make understanding data much easier than bare numbers. They are widely used for general purposes as well as in business and mass media. Their ubiquity thus makes it pertinent to use them–well and effectively.

Pie charts can be easily created in any spreadsheet, such as Google Sheets and Microsoft Excel. But designing and formatting them to make them more visually appealing and readable require some tuning and tweaking with the data of the chart. Not all pie charts are equal; some are more effective at communicating information than others.

So, we are going to learn a few tips on how to sort a pie chart by percentage in Google Sheets to make it effective–and visually appealing.

Pro Tip:
Pie charts are best used only when the number of items is few, say, below ten; for at large numbers the slices become cluttered making them difficult to read. They also don’t convey subtle and small differences very well. For this, a bar graph may be more suitable.

How to make pie chart in Google Sheets and sort pie charts by percentage in Google Sheets

Here’s a quick step to sort pie charts by percentage in Google Sheets:

  1. Calculate the percentage of the individual items
  2. Sort the percentage data in descending or ascending order
  3. Go to the Insert tab and select chart
  4. Customise the chart according to your preference.

To learn in more detail how to make a pie chart in Google Shee and sort the pie chart by percentage in Google Sheets, let us consider a typical monthly expenditure as the data to be represented on the chart and plot the chart step by step and sort the pie chart by size.

You can make a copy of this spreadsheet and follow along with the tutorial.

Data be sorted for the pie chart by percentage in Google Sheets
Fig. 1: Data for the chart

Step 1: Entering the data to create a pie chart in Google Sheets

We enter the data and calculate the sum of the amount of the items using the SUBTOTAL function.

Calculate the total to sort the chart by value
Fig. 2: Calculating the sum

Step 2: Calculating the percentage to sort the pie chart by size

We then calculate the percentage of each item to the total amount. To do so, we divide the amount of the item by the total amount.


The dollar sign (“$”) is added so that the formula doesn’t change when copied. We then drag the cell to the last item to calculate the percentage for each item. Then click on the percent symbol to convert the decimal to percentage.

Percentage of individual items to the total to sort the pie chart by size in Google Sheets
Fig. 3: Percentage to the total of each items

Step 3: Sorting the data to order the pie chart by value

We then sort the data either in ascending or descending order. It is better that the data be sorted in descending order so that the largest option appears first.

The data can be sorted using a number of methods. Here we’ll use the SORTN function to sort our data in descending order. We can place the sorted data in the same sheet or a different sheet. In this example, we use a different sheet. So we type in the following formula on a new sheet:

=SORTN('Monthly expenses'!A3:C9,7,0,'Monthly expenses'!C3:C9,false)

Here, ‘Monthly expenses’ is the name of the sheet from which we want the data sorted, A3:C9 is the range, 7 indicates the number of rows to return, C3:C9 is the column range from which we want to sort the data (the percentage data, in our case), and false sorts the data in descending order.

Data sorted by percentage in descending order - sorting pie chart by value in Google Sheets
Fig. 4: Sorting the data by percentage

Step 4: Creating the pie chart in Google Sheets

Having sorted the chart in by size in descending order, we select the data range to be plotted (here, we select the percentage values, ie, C4:C10, since we want the pie chart to be sorted by percentage).

Range of data to be plotted on the pie chart to be sorted by percentage in Google Sheets
Fig. 5: Selecting the range of data

Then go the to “Insert” menu and select “Chart”. A pie chart will be automatically created. This pie chart is sorted by the size of the pie according to the weightage of each item. If another type of chart is created, we can go to the “Chart type” on the “Chart editor” option and select “Pie chart”. And add labels by selecting the items.

Inserting the chart to sort pie chart by size in Google Sheets
Fig. 6: Inserting a char sorted by value

Step 5: Customising the pie chart sorted by size

We then go the the “Customise” option on the Chart editor menu for customising options.

Customisation of the chart - sort pie chart by size
Fig. 7: Chart customisation tab

Here there are different options such as chart style, slice label, colour option for each slice, chart title and so on.

Avoid bright and fancy colours for the slices and make them contrasting enough to be visualised distinctly. You can use this site for choosing the colour scheme.

Having customised the chart according to our preferences, we can close the Chart editor menu.

So there it is, our pie chart in Google Sheets sorted by percentage and neatly customised. And that is how we sort a pie chart by percentage in Google Sheets.

Sorted pie charts by percentage in Google sheets
Fig. 8: The chart for monthly expenses


Pie charts can make data visualisation and interpretation much easier and quicker. And they come handy in multiple scenarios. So knowing how to create an intuitive and visually appealing chart is hugely essential. Google Sheets has various tools to help us do that. Visit our blog for many more articles about Google Sheets.

See Also

Now that you’ve learned how to insert and sort pie charts by percentage in Google Sheets, take your learning to a higher level starting with one of the articles below.

Create a Burndown Chart in Google Sheets – 4 Min Easy Guide

Candlestick Charts in Google Sheets – 2022 Guide (+Examples)

How to Insert Geo Charts in Google Sheets | 2 Min Easy Guide

Leave a Reply