Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Negatives in Pie Charts.
by Allen Wyatt
(last updated July 11, 2015)
Excel allows you to easily create charts based on the data in a worksheet. If you create a pie chart, Excel charts negative values as if they were positive (in other words, it uses the absolute value). You may, however, prefer to have the negative values charted as if they were zero—to not have a slice of the pie.
Normally, people create pie charts based on a simple set of values. Each value within the series represents a portion of the whole. Thus, pie charts are often created based on the result of some sort of formula, such as the sum of values in a column; the sums of each column are the basis for the pie chart. Instead of using a standard SUM formula for the values to be charted, you could use a formula such as the following:
In this case, the value to be charted is set to zero if the sum is less than zero, or it reflects the actual total if the sum is zero or above.
If your data is conducive to filtering, you could also set up a filter so that negative values are filtered out. This will cause those values to be ignored in the chart created by Excel.
Of course, all this being said, one would have to wonder if a pie chart is the appropriate chart for representing this type of data in the first place. After all, pie charts represent portions of a whole—yet by filtering or adjusting totals, portions of the whole are being removed. Granted, they are negative portions, but they are portions nonetheless.
Pie charts, by their nature, are not well-suited for displaying negative numbers. If negative numbers are expected, then column or bar charts are a much more appropriate choice. Why? Because they can represent data that falls to the left of or below a baseline—as is appropriate for negative numbers.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10401) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Negatives in Pie Charts.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
Do you want to add data labels to the data points in an xy graph? Excel doesn't provide a way to get the desired labels, ...Discover More
Adding a trendline to a graph will allow you to see trends a bit easier, depending on your data. You can even utilize an ...Discover More
Macros allow you to make changes to virtually anything you can see in Excel. This tip examines how to make changes (even ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.