XL2000: Dates Made Consecutive When Charting in Microsoft Excel (211767)



The information in this article applies to:

  • Microsoft Excel 2000
  • Microsoft Excel 2002

This article was previously published under Q211767

SYMPTOMS

If you chart a range of dates that are not consecutive, Microsoft Excel 2000 may fill in the missing dates to make the range consecutive.

RESOLUTION

To resolve this behavior, format the axis to be a category axis instead of a time-scale axis. To do this, use one of the following methods.

Method 1

If you entered data on the worksheet but did not yet create the chart, follow these steps:
  1. Select the data on the worksheet that is to be the source data for the chart.
  2. Click Chart Wizard on the Standard toolbar.
  3. Make the changes you want in steps 1 and 2 of the Chart Wizard.
  4. In step 3 of the Chart Wizard, click the Axes tab.
  5. Click Category under Category (X) axis.
  6. Continue stepping through the Chart Wizard until the chart is created.

Method 2

If you already created the chart, follow these steps:
  1. Click the chart to select it.
  2. On the Chart menu, click Chart Options.
  3. Click the Axes tab.
  4. Click Category under Category (X) axes and click OK.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Microsoft Excel 2000 automatically uses a time-scale axis if it detects that you have worksheet data that contains date number formatting in the first column or first row of source data for the chart (depending on the dimensions of your source data). The time-scale axis is a special type of category axis that is organized by date. The time-scale axis in the chart displays the dates in chronological order even if the dates are not in that order on the worksheet. The scaling of the time-scale axis is determined by an algorithm Microsoft Excel 2000 uses on the range of dates in the axis. The base unit is calculated by scanning through the series of points and finding the smallest time difference between two date values in the range. This time difference then becomes the base unit for the time-scale axis.

REFERENCES

For more information about the time-scale axis, click Microsoft Excel Help on the Help menu, type time-scale axes in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Modification Type:MajorLast Reviewed:10/8/2003
Keywords:kbbug kbpending kbProgramming KB211767