问题
The data source for the Pie chart is Pivot table, with values set as % of column total. I am able to suppress the data values in the Pie chart by custom formatting number in Data labels, as #. But this still leaves Category name visible. Please advise how to suppress the Category name.
回答1:
Pie charts will ignore categories with value set to #N/A so an if statement that switches zeros to NA() will do this.
来源:https://stackoverflow.com/questions/47069256/how-to-suppress-category-in-excel-pie-chart-for-zero-values