Ever found yourself wishing you could add labels to your pie charts in Google Sheets to make them more informative? You're not alone. While Google Sheets doesn't have a built-in feature for this, there's a workaround using data validation and conditional formatting. Let's dive into how you can achieve this.

Before we start, ensure your data is structured with categories in one column and their corresponding values in another. For instance, you might have 'Fruits' in A1 and 'Apples' in B1, with the value 10 in C1. Let's assume this pattern continues until A10 and C10.

Preparing Your Data
First, let's ensure our data is ready for labeling. We'll create a new column for our labels. In D1, enter the formula "=B1&" - "&C1". This concatenates the fruit name with its value. Drag this formula down to D10.

Now, select A1:C10 and click 'Insert chart' in the toolbar. Choose the pie chart type and click 'OK'. Your chart should now display your data.
Adding Labels to the Pie Chart

To add labels, we'll use a combination of data validation and conditional formatting. First, let's create a list of unique labels. In a new sheet, enter your unique labels in A1:A10 (e.g., 'Apples', 'Bananas', etc.).
Now, let's use data validation to create a dropdown list of these labels in our original sheet. Select D1:D10, click 'Data' in the menu, then 'Data validation'. Under 'Criteria', choose 'List of items', and in the 'Values' field, enter '=Sheet2!A1:A10'. Click 'Save'.
Using Conditional Formatting

Next, we'll use conditional formatting to change the data in C1:C10 based on the selected label in D1:D10. Select C1:C10, click 'Format' in the menu, then 'Conditional formatting'. Under 'Format cells if...', choose 'Custom formula is'. Enter the formula "=D1=Sheet2!A1" and set the formatting style to 'No fill'. Click 'Done'.
Repeat this process for each label in D1:D10, changing the formula to match each label (e.g., for 'Bananas', the formula would be "=D1=Sheet2!A2").
Final Touches

Now, when you select a label in D1:D10, the corresponding value in C1:C10 will change. This value will now be displayed in your pie chart. To make the chart more readable, you can adjust the slice size, add a title, or change the color scheme.
And there you have it! You've successfully added labels to your pie chart in Google Sheets. This technique can be applied to other chart types as well, giving you more control over your data visualizations.



















