HOW TO: Plot Values Against a Recommended Range in Excel 2000 (211938)
The information in this article applies to:
This article was previously published under Q211938 For a Microsoft Excel 7.0 and earlier version of this article, see 152819.
For a Microsoft Excel 97 version of this article, see 161670.
IN THIS TASKSUMMARY
This step-by-step article shows you how to create a chart that is a
combination of the line and area chart types, this chart plots your data against a recommended range.
In Microsoft Excel it is possible to display collected data against a
desired or recommended range for the data. This range is usually displayed
as a shaded or patterned bar on the plot area against which the data is
plotted.
back to the top
Create a Chart
To create a chart, follow these steps:
- Close and save any open workbooks, and then create a new workbook. In
Sheet1, type the following values:
A1: B1: Recommended C1: Actual
A2: 4 B2: 6 C2: 7.5
A3: 4 B3: 6 C3: 8
A4: 4 B4: 6 C4: 5.25
A5: 4 B5: 6 C5: 3
A6: 4 B6: 6 C6: 5
- Select cells A1:C6, and then click Chart on the Insert menu.
- In the Chart Wizard, click Area in the Chart type list, and then click Next.
- Click the Series tab in step 2 of the Chart Wizard, and then click Add to add a new data series to the chart.
- Select the entry in the Category (X) axis labels box, and then press DELETE.
- Select the entry in the Values box, press DELETE, and then type =Sheet1!A2:A6 in the Values box.
- Click Finish to create the chart.
An Area chart with three data series appears on the worksheet.
back to the top
Format the Data Series- If the Chart toolbar is not visible, point to Toolbars on the View menu, and then click Chart.
- Click Series "Actual" in the Chart Objects list on the Chart toolbar. On the Format menu, click Selected Data Series.
- On the Axis tab, click Secondary axis under Plot series on, and then click OK.
- On the Chart menu, click Chart type, click Line in the Chart type list, and then click OK.
The "Actual" data series is represented with a line.
- In the Chart Objects list on the Chart toolbar, click Series "Recommended" to format the "Recommended" data series.
- On the Chart menu, click Area under Chart type, click the upper-left area chart type under Chart sub-type, and then click OK.
back to the top
Format the Axes Scale
You must apply the same scale to both of the value axes. In this example,
the primary value axis has a maximum value of 7, and the secondary value
axis has a maximum value of 9. You must change the maximum value of the
primary value axis to 9. To do this, follow these steps:
- In the Chart Objects list on the Chart toolbar, click Value Axis.
- On the Format menu, click Selected Axis, and then click the Scale tab.
- Type the value 9 in the Maximum box, and then click OK.
back to the top
Hide the Extra Series
Apply the formatting that is necessary to hide Series3. To do this, follow these steps:
- In the Chart Objects list on the Chart toolbar, click Series3.
- On the Format menu, click Selected Data Series.
You must select the same color for the area that you set for the plot area. By default, the plot area is gray.
- Click an appropriate shade of gray, and then click OK.
- In the Chart Objects list on the Chart toolbar, click Legend, and then click the legend entry once for Series3. (You must select the entire entry, including the caption.)
- Press DELETE to remove the legend entry.
back to the top
Remove Gridlines
Remove the gridlines that are automatically inserted in the chart. To
do this, follow these steps:
- On the Chart menu, click Chart Options, and then click the Gridlines tab.
- Under Value (Y) axis, click the Major gridlines box to remove the gridlines, and then click OK.
A chart with a line that represents the data in the "Actual" column (column C) is created. A blue area represents the range of values that you typed in
columns A and B in step 2.
back to the top
REFERENCESFor more information about creating charts, click Microsoft Excel Help on the Help menu, type about charts in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
back to the top
Modification Type: | Major | Last Reviewed: | 9/27/2003 |
---|
Keywords: | kbchart kbhowto kbHOWTOmaster KB211938 |
---|
|