Chart & Visualization Issues

Make an Excel Scatter Chart Use Column Data for the X-Axis

John WilsonJohn Wilson Nov 13, 2026 870 views

Question details

The user wants an Excel chart to use values from a worksheet column for its X-axis instead of sequential numbers.

How to Use Column Data for an Excel Scatter Chart X-Axis
Product
Microsoft Excel
Device & OS
not provided
Scenario
A chart is based on a regular table, with X-axis data in a separate column and measurements in another column.
Observed behavior
The scatter chart shows sequential X-axis numbers when the intended X-value range is not assigned. Entries such as 5RP are text and cannot be plotted as numeric scatter values.
Before you start

Identify the X-value column and the corresponding Y-value column, and make sure their ranges contain the same number of data rows. Check whether the X entries are numbers or text labels such as 5RP.

Solution 1Recommended

Assign the X and Y ranges to the scatter chart series

Use this method when the X-axis column contains numeric values.

1
Open the chart data settings

Select the chart, then choose Chart Design > Select Data.

2
Edit the series

Under Legend Entries (Series), select the series you want to change and click Edit.

3
Set the X and Y values

In Series X values, select the numeric cells in column D, excluding the header. In Series Y values, select the matching measurement cells in the same rows.

4
Apply and check the chart type

Click OK to close the dialogs. If necessary, choose Chart Design > Change Chart Type and select an XY (Scatter) chart.

Assign the X and Y ranges to the scatter chart series
Text is not a numeric X value: A scatter chart cannot plot identifiers such as 5RP as numeric X values. Use numeric helper values if appropriate, or use a line chart to display the identifiers as category labels.
Chart data in WPS Spreadsheet

Set scatter chart X-values in WPS Spreadsheet

Use WPS Spreadsheet to assign separate X and Y ranges to a scatter chart. For text identifiers, choose a line chart and use the identifier column as category labels.

  1. 1. Open the workbook: Open WPS Spreadsheet and choose Open to select your Excel workbook.
  2. 2. Select the chart data: Click the chart, then use Chart Tools > Select Data to open its data settings.
  3. 3. Edit the series ranges: Select the series and click Edit. Set the X values to the numeric cells in column D and the Y values to the corresponding measurement cells.
  4. 4. Confirm the chart: Click OK and check that the chart is an XY scatter chart. If the X entries are text labels, use Change Chart Type to select a line chart and assign the labels as categories instead.
Assign numeric X and Y ranges to a scatter chartUse a line chart for text-based X-axis labelsOpen and edit Microsoft Excel XLSX filesWork with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel scatter chart show 1, 2, 3 instead of my column values?

The series may not have the intended X-value range assigned. Select the chart, choose Chart Design > Select Data, edit the series, and select the numeric X cells in Series X values.

Can I use 5RP as an X value in a scatter chart?

No. An XY scatter chart requires numeric X values. Use a numeric helper column if a numeric mapping is meaningful, or choose a line chart and use 5RP as a category label.

How do I show text labels on the horizontal axis?

Use a line chart, then choose Chart Design > Select Data. Click Edit under Horizontal (Category) Axis Labels and select the cells containing your labels.

Do the X and Y ranges need to be the same size?

Yes. Select one X value and one corresponding Y value for each data point, using matching rows and excluding column headers from the value ranges.