Sunday, April 29, 2018

Add or remove a secondary axis in a chart in Excel

Add or remove a secondary axis in a chart in Excel

When the numbers in a chart you created vary widely from data series to data series, or when you have mixed types of data (for example, price and volume), you can plot one or more data series on a secondary vertical (value) axis. The scale of the secondary vertical axis shows the values for the associated data series. A secondary axis works well in a chart that shows a combination of column and line charts.

Combo chart with secondary axis

You can quickly show a chart like the one above by changing your chart to a combo chart.

  1. Click anywhere in the chart you want to change to a combo chart to show the Chart Tools.

    Design and Format tabs for the Chart Tools

  2. Click Design > Change Chart Type.

    Type group on the Design tab

  3. On the All Charts tab, choose Combo, and then pick the Clustered Column - Line on Secondary Axis chart.

    Combo chart with secondary axis on All Charts tab

  4. Under Choose the chart type and axis for your data series, check the Secondary Axis box for each data series you want to plot on the secondary axis, and then change their chart type to Line.

  5. Make sure that all other data series are shown as Clustered Column.

    To clarify what is plotted on each of the vertical axes, you can add axis titles.

Add axis titles to the vertical axes

  1. Click anywhere in the chart, and then click Chart Elements Chart Elements button .

  2. Check the Axis Titles box, click the arrow next to it, and then check the boxes of the axis titles you want to add.

  3. In the chart, click each axis title one at a time, and then type a title that describes the data that is plotted on that axis.

See Also

Create a chart from start to finish

Select data for a chart

Change axis labels in a chart

Add axis titles to a chart

Learn more about combo charts

When the values in a 2-D chart vary widely from data series to data series, or when you have mixed types of data (for example, price and volume), you can plot one or more data series on a secondary vertical (value) axis. The scale of the secondary vertical axis reflects the values for the associated data series.

Formatted combination chart

After you add a secondary vertical axis to a 2-D chart, you can also add a secondary horizontal (category) axis, which may be useful in an xy (scatter) chart or bubble chart.

To help distinguish the data series that are plotted on the secondary axis, you can change their chart type. For example, in a column chart, you could change the data series on the secondary axis to a line chart.

Important: To complete the following procedures, you must have an existing 2-D chart. Secondary axes are not supported in 3-D charts.

You can plot data on a secondary vertical axis one data series at a time. To plot more than one data series on the secondary vertical axis, repeat this procedure for each data series that you want to display on the secondary vertical axis.

  1. In a chart, click the data series that you want to plot on a secondary vertical axis, or do the following to select the data series from a list of chart elements:

    1. Click the chart.

      This displays the Chart Tools, adding the Design, Layout, and Format tabs.

    2. On the Format tab, in the Current Selection group, click the arrow in the Chart Elements box, and then click the data series that you want to plot along a secondary vertical axis.

      Ribbon Image

  2. On the Format tab, in the Current Selection group, click Format Selection.

    The Format Data Series dialog box is displayed.

    Note: If a different dialog box is displayed, repeat step 1 and make sure that you select a data series in the chart.

  3. On the Series Options tab, under Plot Series On, click Secondary Axis and then click Close.

    A secondary vertical axis is displayed in the chart.

  4. To change the display of the secondary vertical axis, do the following:

    1. On the Layout tab, in the Axes group, click Axes.

    2. Click Secondary Vertical Axis, and then click the display option that you want.

  5. To change the axis options of the secondary vertical axis, do the following:

    1. Right-click the secondary vertical axis, and then click Format Axis.

    2. Under Axis Options, select the options that you want to use.

To complete this procedure, you must have a chart that displays a secondary vertical axis. To add a secondary vertical axis, see Add a secondary vertical axis.

  1. Click a chart that displays a secondary vertical axis.

    This displays the Chart Tools, adding the Design, Layout, and Format tabs.

  2. On the Layout tab, in the Axes group, click Axes.

    Ribbon Image

  3. Click Secondary Horizontal Axis, and then click the display option that you want.

  1. In a chart, click the data series that you want to change.

    This displays the Chart Tools, adding the Design, Layout, and Format tabs.

    Tip: You can also right-click the data series, click Change Series Chart Type, and then continue with step 3.

  2. On the Design tab, in the Type group, click Change Chart Type.

    Excel Ribbon Image

  3. In the Change Chart Type dialog box, click a chart type that you want to use.

    The first box shows a list of chart type categories, and the second box shows the available chart types for each chart type category. For more information about the chart types that you can use, see Available chart types.

Note: You can change the chart type of only one data series at a time. To change the chart type of more than one data series in the chart, repeat the steps of this procedure for each data series that you want to change.

  1. Click the chart that displays the secondary axis that you want to remove.

    This displays the Chart Tools, adding the Design, Layout, and Format tabs.

  2. On the Layout tab, in the Axes group, click Axes, click Secondary Vertical Axis or Secondary Horizontal Axis, and then click None.

    Ribbon Image

Tips: 

  • You can also click the secondary axis that you want to delete, and then press DELETE, or right-click the secondary axis, and then click Delete.

  • To remove secondary axes immediately after you add them, click Undo Undo button on the Quick Access Toolbar, or press CTRL+Z.

When the values in a chart vary widely from data series to data series, you can plot one or more data series on a secondary axis. A secondary axis can also be used as part of a combination chart when you have mixed types of data (for example, price and volume) in the same chart.

In this chart, the primary vertical axis on the left is used for sales volumes, whereas the secondary vertical axis on the right side is for price figures.

A chart with a secondary axis

Do any of the following:

Add a secondary axis

  1. In the chart, select the data series that you want to plot on a secondary axis, and then click the Chart Layout tab.

    For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

  2. Under Current Selection, click Format Selection.

    Charts tab, Current Selection group

  3. In the navigation pane, click Axis.

  4. Click Secondary axis, and then click OK.

    To add more data series to the secondary axis, repeat this procedure.

Add an axis title for a secondary axis

  1. Click the chart, and then click the Chart Layout tab.

  2. Under Labels, click Axis Titles, point to Secondary Horizontal Axis Title or Secondary Vertical Axis Title, and then click the option that you want.

    Chart Layout tab, Labels group

  3. Select the text in the Axis Title box, and then type an axis title.

Add an axis label for a secondary axis

  1. Click the chart, and then click the Chart Layout tab.

  2. Under Axes, click Axes, point to Secondary Horizontal Axis or Secondary Vertical Axis, and then click the option that you want.

    Chart Layout tab, Axes group

When the values in a chart vary widely from data series to data series, you can plot one or more data series on a secondary axis. A secondary axis can also be used as part of a combination chart when you have mixed types of data (for example, price and volume) in the same chart.

In this chart, the primary vertical axis on the left is used for sales volumes, whereas the secondary vertical axis on the right side is for price figures.

A chart with a secondary axis

Do any of the following:

Add a secondary axis

  1. In the chart, select the data series that you want to plot on a secondary axis, and then click the Chart Layout tab.

    For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

  2. Under Current Selection, click Format Selection.

    Charts tab, Current Selection group

  3. In the navigation pane, click Axis.

  4. Click Secondary axis, and then click OK.

    To add more data series to the secondary axis, repeat this procedure.

Add an axis title for a secondary axis

  1. Click the chart, and then click the Chart Layout tab.

  2. Under Labels, click Axis Titles, point to Secondary Horizontal Axis Title or Secondary Vertical Axis Title, and then click the option that you want.

    Chart Layout tab, Labels group

  3. Select the text in the Axis Title box, and then type an axis title.

Add an axis label for a secondary axis

  1. Click the chart, and then click the Chart Layout tab.

  2. Under Axes, click Axes, point to Secondary Horizontal Axis or Secondary Vertical Axis, and then click the option that you want.

    Chart Layout tab, Axes group

When the values in a chart vary widely from data series to data series, you can plot one or more data series on a secondary axis. A secondary axis can also be used as part of a combination chart when you have mixed types of data (for example, price and volume) in the same chart.

In this chart, the primary vertical axis on the left is used for sales volumes, whereas the secondary vertical axis on the right side is for price figures.

A chart with a secondary axis

Do any of the following:

Add a secondary axis

  1. On the View menu, click Print Layout.

  2. In the chart, select the data series that you want to plot on a secondary axis, and then click the Chart Layout tab.

    For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

  3. Under Current Selection, click Format Selection.

    Charts tab, Current Selection group

  4. In the navigation pane, click Axis.

  5. Click Secondary axis, and then click OK.

    To add more data series to the secondary axis, repeat this procedure.

Add an axis title for a secondary axis

  1. On the View menu, click Print Layout.

  2. Click the chart, and then click the Chart Layout tab.

  3. Under Labels, click Axis Titles, point to Secondary Horizontal Axis Title or Secondary Vertical Axis Title, and then click the option that you want.

    Chart Layout tab, Labels group

  4. Select the text in the Axis Title box, and then type an axis title.

Add an axis label for a secondary axis

  1. On the View menu, click Print Layout.

  2. Click the chart, and then click the Chart Layout tab.

  3. Under Axes, click Axes, point to Secondary Horizontal Axis or Secondary Vertical Axis, and then click the option that you want.

    Chart Layout tab, Axes group

When the values in a chart vary widely from data series to data series, you can plot one or more data series on a secondary axis. A secondary axis can also be used as part of a combination chart when you have mixed types of data (for example, price and volume) in the same chart.

In this chart, the primary vertical axis on the left is used for sales volumes, whereas the secondary vertical axis on the right side is for price figures.

A chart with a secondary axis

Do any of the following:

Add a secondary axis

  1. In the chart, select the data series that you want to plot on a secondary axis, and then click Chart Design tab on the ribbon.

    For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

  2. Click Add Chart Element > Axes > and select between Secondary Horizontal or Second Vertical.

Add an axis title for a secondary axis

  1. In the chart, select the data series that you want to plot on a secondary axis, and then click Chart Design tab on the ribbon.

    For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

  2. Click Add Chart Element > Axis Titles > and select between Secondary Horizontal or Second Vertical.

When the values in a chart vary widely from data series to data series, you can plot one or more data series on a secondary axis. A secondary axis can also be used as part of a combination chart when you have mixed types of data (for example, price and volume) in the same chart.

In this chart, the primary vertical axis on the left is used for sales volumes, whereas the secondary vertical axis on the right side is for price figures.

A chart with a secondary axis

Do any of the following:

Add a secondary axis

  1. In the chart, select the data series that you want to plot on a secondary axis, and then click Chart Design tab on the ribbon.

  2. Click Add Chart Element > Axes > and select between Secondary Horizontal or Second Vertical.

Add an axis title for a secondary axis

  1. In the chart, select the data series that you want to plot on a secondary axis, and then click Chart Design tab on the ribbon.

  2. Click Add Chart Element > Axis Titles > and select between Secondary Horizontal or Second Vertical.

When the values in a chart vary widely from data series to data series, you can plot one or more data series on a secondary axis. A secondary axis can also be used as part of a combination chart when you have mixed types of data (for example, price and volume) in the same chart.

In this chart, the primary vertical axis on the left is used for sales volumes, whereas the secondary vertical axis on the right side is for price figures.

A chart with a secondary axis

Do any of the following:

Add a secondary axis

  1. On the View menu, click Print Layout.

  2. In the chart, select the data series that you want to plot on a secondary axis, and then click Chart Design tab on the ribbon.

  3. Click Add Chart Element > Axes > and select between Secondary Horizontal or Second Vertical.

Add an axis title for a secondary axis

  1. On the View menu, click Print Layout.

  2. In the chart, select the data series that you want to plot on a secondary axis, and then click Chart Design tab on the ribbon.

  3. Click Add Chart Element > Axis Titles > and select between Secondary Horizontal or Second Vertical.

Need more help?

You can always ask an expert in the Excel Tech Community, get support in the Answers community, or suggest a new feature or improvement on Excel User Voice.

No comments:

Post a Comment