ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   graphing two variables on one chart (https://www.excelbanter.com/charts-charting-excel/34949-graphing-two-variables-one-chart.html)

James

graphing two variables on one chart
 
In Excel can I plot two lines with different Y-axis values?

Gary Rowe

Yes. Select the custom type "chart line - column on 2 axes" and right click
on the column chart and select chart type, line chart.
Gary

"James" wrote:

In Excel can I plot two lines with different Y-axis values?


bj

Select one of the series on the chart and under the axis tab select secondary.

"James" wrote:

In Excel can I plot two lines with different Y-axis values?


Jon Peltier

Your question sounded more fundamental to me than getting a secondary Y
axis, more like getting another series into the chart. Here goes:

If the chart exists with one series, go to Source Data on the Chart
Menu, Series tab, click Add, then select the data for the second series.
Or copy the Y Value range in the sheet, select the chart, and paste. Or
use drag and drop.

If you haven't made the chart yet, select the range that includes both
series of data, then run the chart wizard.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


James wrote:

In Excel can I plot two lines with different Y-axis values?



All times are GMT +1. The time now is 03:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com