Changing chart axis values

birdec

New Member
Joined
Jul 7, 2011
Messages
19
Can I manually enter the values for a chart's horizontal axis?

Instead of 1, 2, 3, ...., I need something like 1, 5, 6, 9, ...
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
What kind of chart it is? If it's a line chart, bar chart, area chart, the X values are treated as non-numeric labels. You could place them in a worksheet range, and assign them as the X values of the chart. They will be equally spaced, even though differences in value are not equal.

In an XY chart, you could hide the regular axis labels (keep the tick marks at intervals of 1), add a dummy XY series which has the desired X values, and zero as the Y values so the points are on the bottom of the chart. Hide the points (no markers), then apply data labels using the Category Labels option and Below position.
 
Upvote 0

Forum statistics

Threads
1,224,561
Messages
6,179,521
Members
452,923
Latest member
JackiG

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