Microsoft KB Archive/108369

= Inconsistent Results Moving Chart Data Labels =

Article ID: 108369

Article Last Modified on 8/15/2003

-

APPLIES TO


 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q108369



SYMPTOMS
In Microsoft Excel, when you move a data label in a column chart from the top of a column to nearly the bottom of the column, and the value for that column is changed to a lower or a negative value, the data label disappears or changes position.



CAUSE
The calculation that Microsoft Excel uses to determine the position of a data label in a column chart is based on the distance from the top of the column. If a column becomes shorter due to a lower value, the data label shifts down accordingly. This shift can force the data label to be positioned outside of the plot area, where it is not visible. If the column value becomes negative, the data label is positioned at the same distance from the top of the column (which is inverted) on the positive side of the x-axis.



WORKAROUND
To work around this behavior in Microsoft Excel 97, use the following steps:


 * 1) On the chart, click the label to select it.
 * 2) On the Format menu, click Selected Data Labels.
 * 3) In the Alignment tab, click Inside Base in the Label Position box, and click OK.

NOTE: the Label Position option is available only in Microsoft Excel 97.

Steps to Reproduce Behavior
  In a worksheet, type the following data:

    A1:  1 A2: 2 A3: 3 A4: 4  Select the range A1:A4, click Chart on the Insert menu, and then click As New Sheet.

Step 1 of 5 of the Chart Wizard appears. Click Finish to create a standard column chart. Click once on any one of the columns to select the entire series. On the Format menu, click Selected Data Series. Click the Data Labels tab, click Show Value, and then click OK to accept the change.

This step places data labels at the top of each column in the chart.</li> Select the data label above the third column and drag it to the bottom, of the column between y values 0 and 0.5 (in the lower 6th area of the column).</li> On the spreadsheet, change the value of 3 in cell A3 to 2.

The data label for the third column are no longer be visible.</li> On the spreadsheet, change the value of 2 in cell A3 to -2.

The data label for the third column is displayed, but it is positioned above the column at approximately the y value of 2.</li></ol>

<div class="references_section">