Overlay two charts with the same axis

MrLookout9

New Member
Joined
Jun 25, 2011
Messages
27
Thank you for your time and expertise.

I am trying to do with with VBA but if there is an easier approach, I am all ears!

I have two charts(one X Y Scatter, one Stock) that have the same X and Y axis. As it stands now, I have them overlapped perfectly, manually.

As the data changes, the size of each chart changes, throwing off scale.

Excel & PowerPoint 2010

A) Is there a way to combine these into one chart?
B) If not, is there a way to set the scale and size of the axis to keep them aligned?

Thank you!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I don't believe it's possible to combine the two charts into one single chart, beyond what you've already done manually.

To prevent the "size" of the chart from changing:

Right-click each chart axes individually and click "Format Axis". Under Axis Options, change the Minimum and Maximum from "Auto" to "Fixed", and enter the ranges you need.

Please note that you need to manually update both charts if your data changes to include numbers outside of your min/max ranges, else the charts will not display properly. Additionally, both chart ranges need to be identical otherwise the data will not display in accurate relation.
 
Upvote 0
I just realized I misread your post - it is possible to have both sets of data in one chart if they are the same chart type.

To do this, Format Data Series and under Series Options click the radio button to "Plot Series On" the Primary/Secondary axis.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top