Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

HOW TO: Add a Series to an XY (Scatter) Chart with a Second X-Axis in Excel 2000


View products that this article applies to.

Summary

When you add a second series to an XY (scatter) chart, the new values are added with respect to the same x-axis values as the first series. This step-by-step article explains how to add a second series to an XY (scatter) chart that uses a second set of x values.

Add Second Series to Chart

To add a second series to an XY (scatter) chart with a different set of x values, follow these steps:
  1. Type the following data into a worksheet:
       A1: 1     B1: 5     C1: -1     D1: -5
       A2: 2     B2: 6     C2: -2     D2: -6
       A3: 3     B3: 4     C3: -3     D3: -8
       A4: 4     B4: 2     C4: -4     D4: -5
       A5: 5     B5: 5     C5: -5     D5: -1
    					
  2. Select the range A1:B5. On the standard toolbar, click the Chart Wizard tool.
  3. On the list of chart types, click XY (Scatter). Click one of the line charts under Chart sub-type, and then click Next.
  4. Click the Series tab, and then click Add. In the X Values box, type =Sheet1!$C$1:$C$5; in the Y Values box, type =Sheet1!$D$1:$D$5. Click Finish.
  5. On the chart, click a plotted item, and then click Format Data Series. Click the Axis tab, click Secondary axis, and then click OK.

↑ Back to the top


References

For more information about how to add a new series, click Microsoft Excel Help on the Help menu, type add series lines to charts in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB214292, kbhowtomaster, kbhowto, kbchart

↑ Back to the top

Article Info
Article ID : 214292
Revision : 5
Created on : 11/5/2003
Published on : 11/5/2003
Exists online : False
Views : 254