I have a number of points where the X value is a number. Excel sees it as a number. But when displaying the chart, it does not sort the X axis.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Odds are you have created a Line Chart. In a line chart, the x axis is equally spaced and points are plotted from left to right in the order the appear the list of data. The line chart will ignore their actual value and relative distance between x values.
In order for the chart to plot the x position according to the X values, you need to use a scatter plot, and the x values must all be numerical values and not strings. If for some reason you had a bunch of numbers that were formatted as strings, excel will treat the chart as a line chart until all x values are corrected to numerical values.
To convert your chart to a scatter chart, right click on the chart and select Change Chart Type...
From the chart type window that appears, first select X Y (Scatter) on the left and then the appropriate style from top on the right, and finally the appropriate option from the bottom right area.
Or alternatively you can simply re-select your data and insert a new scatter chart.