Excel: Suppressing Decimal Places in Pie Chart #6Last reviewed: July 10, 1995Article ID: Q59249 |
The information in this article applies to:
SUMMARYThere are two ways to suppress the decimal places in Pie Chart #6 in Microsoft Excel. To alter the number of digits displayed in this chart, use one of the following procedures:
Method 1Manually edit each label for all of the percentages. NOTE: The label will no longer be linked to the spreadsheet value; therefore, changing the worksheet percentage will not change the value reflected in the label. The labels can also be converted to text by nesting the percentage in quotation marks (""). To convert 28.80% to text, use ="28.8%"
Method 2Add a new column to the spreadsheet, format it to the desired precision, and use that column as labels. An example of this procedure is described below.
MORE INFORMATIONAssume the information for the pie chart is in cells B1:B4 and that A1:A4 are blank. If there is not a blank column to the left of the information, insert one.
A B 1 1 2 2 3 3 4 4 The first column of information is read as labels displaying the percentage of the total for each value. Since these are labels displayed by Microsoft Excel, rather than computed percentages, Microsoft Excel uses the formatting applied to the cell.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |