How Do I Change the X-Axis Range in Excel Charts?

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Selecting a separate X-axis range lets you use data from anywhere in your workbook.
Image Credit: Image courtesy of Microsoft

When you first create a chart in Excel 2013, the result might appear confusing -- with some chart types, most notably line charts, Excel displays the X axis as "1, 2, 3..." regardless of the data you actually want as your X axis. For charts where you want to specify an X-axis range of numbers, you first need to switch to a scatter chart and then select the range.

Advertisement

Step 1

Switch to a scatter chart.
Image Credit: Image courtesy of Microsoft

Select your chart and pick a scatter chart style from the Insert tab to change the chart type.

Advertisement

Video of the Day

Step 2

Select an X/Y range or press "Edit" to select separate ranges.
Image Credit: Image courtesy of Microsoft

Open the "Design" tab and press "Select Data." If you have two adjacent columns of data -- X-axis data on the left, Y-axis on the right -- select them and press "OK" to remake the chart using your X-axis range, and skip the following step.

Advertisement

Alternatively, if the X-axis data you want to use isn't situated directly to the left of the Y-axis data, press "Edit" in the Legend Entries section.

Step 3

Select separate X and Y ranges.
Image Credit: Image courtesy of Microsoft

Select the X and Y ranges separately using the Series X Values and Series Y Values fields. Press "OK" on both dialog boxes to remake the chart.

Advertisement

Advertisement

Step 4

Add axis titles.
Image Credit: Image courtesy of Microsoft

Press "Add Chart Element" on the Design tab to add "Axis Titles" for each axis, clarifying their relationship.

Advertisement

Step 5

Name the titles.
Image Credit: Image courtesy of Microsoft

Type in an axis title's name by hand, or select it, type "=" in the Formula Bar and click a cell that bears the axis's name.

Video of the Day

Advertisement

Advertisement

references & resources