How to set Secondary Axis to start at zero point on Primary Axis

danhenshy23

New Member
Joined
Oct 3, 2016
Messages
38
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I have a column chart with both negative and positive values. In the same chart I have a secondary axis which only contains positive numbers.

What I want is for the starting point of the secondary axis to be the zero point on the primary axis.

Currently the zero point on the secondary axis is equal to the lowest value of the primary, how do I go about changing this?

Thanks
Dan
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Do you mean something like this?



mmvpg9.jpg




If so, set the Horizonal axis crosses on the Axis Value of 0

and make sure that you've set the Minimum and Maximum axis options to Fixed

2vi45jk.jpg




In the example data I used, the Primary Axis data goes from a range between 0 and 100.

The secondary axis data goes from 0 to 5,000.


By setting the Secondary axis from -5000 to +5000, it can successfully cross at 0 on the X-Axis.

Hope this makes sense?
 
Upvote 0
Thanks, I think that should do the trick.

Is there any way to have the 0 to -5000 in the secondary axis not be visible?
 
Upvote 0
Thanks, I think that should do the trick.

Is there any way to have the 0 to -5000 in the secondary axis not be visible?

As far as I'm aware, that isn't possible - I think it's because it defeats the purpose of the axis.

If you're not going to be moving the chart around, you could put in a 'work-around' and Insert a Shape and place a rectangle over that part of the chart (removing the outer Line property and setting a Solid colour to the same background colour as the chart).

Or you could hide it completely, but that would hide what height of the secondary-axis bars meant - however you could then add data-labels.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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