Chart Axis with a small negative

FredMcStaire

New Member
Joined
Jan 19, 2009
Messages
36
Howdy, I have a chart where the values on the x axis range from -6m to +280m. I would like the major units to be $50m starting from 0. I would also like a minimum value of -10m and a maximum value of +300m. Given that i've fixed the min and max values, How can I get the axis major unit labels to display the following : -10,0,50,100,150...
Thanks!
ps. using excel 2010
 
Last edited:

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi Fred

You cannot do it directly with the axis options.

The usual way to do it is to discard the default axis and create your own custom axis.

A custom X-axis is simply a horizontal line at Y=0 connecting values that you provide and to which you attach labels.

How I'd do it:

1 - get rid of the default X-Axis: in the X-Axis options set "Major tick mark type", "Minor tick mark type" and "Axis labels" all to None.

2 - Add a new scatter series, with Y=0 in all points and X values the ones that will appear on the axis

3 - Add labels to the points
 
Upvote 0
Thank you for the original reply. And Imagine my reply when, 4 years later I had the same question and the top search result was the Q&A. so thank you twice!
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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