Chart & Visualization Issues

Fix Excel Scatter Chart Displaying Years as Sequential Numbers

Adam DavisAdam Davis Nov 2, 2026 871 views

Question details

The user is trying to plot specific years on the X-axis of an Excel scatter chart, but the chart displays sequential numbers (1, 2, 3) instead of the actual years.

Fixing Excel Scatter Chart Displaying Years as Sequential Numbers
Product
Excel
Device & OS
not provided
Scenario
Creating a scatter plot using a dataset where the X-axis values are years (e.g., 1985, 1997, 1999).
Observed behavior
Excel ignores the entered year digits and automatically plots the X-axis data points as sequential numbers starting from 1.
Before you start

Check your source data to ensure the years are not formatted as text. Look for hidden leading apostrophes or quotation marks in the formula bar, as scatter charts strictly require numeric values to plot coordinates correctly.

Solution 1Recommended

Format Years as Strict Numeric Values

Because scatter charts plot coordinates mathematically, text-formatted years will be ignored and plotted as sequential points. Converting the text to standard numbers fixes this instantly.

A common mistake when entering years into Excel is treating them like text labels by adding an apostrophe before the number (e.g., '1985). Scatter charts cannot calculate text values, so Excel defaults to plotting the sequence of the rows (1, 2, 3...). Converting these cells strictly to numeric formats will restore the correct X-axis scale.

1
Select the year data

Highlight the entire column or row containing your year values in the worksheet.

2
Convert text to columns

Navigate to the Data tab on the top ribbon and click on 'Text to Columns'. Without changing any settings, simply click 'Finish'. This forces Excel to re-evaluate the text as actual numbers.

3
Apply number formatting

Right-click the selected cells, choose 'Format Cells', navigate to the Number tab, and select 'General' or 'Number'. Ensure decimal places are set to 0.

4
Update the chart

Click on your scatter chart. It should now automatically update the X-axis to reflect the actual numeric years.

Format Years as Strict Numeric Values
Quick Fix Alternative: If you see a small green triangle in the corner of your cells indicating 'Number Stored as Text', you can highlight them, click the warning icon that appears, and select 'Convert to Number'.
Create Professional Charts in WPS Office

Create and Format Scatter Charts Easily with WPS Spreadsheet

WPS Spreadsheet offers an intuitive charting interface that automatically detects numeric data accurately. You can effortlessly generate scatter plots and customize axis formats without dealing with hidden text conversion issues.

  1. 1. Highlight your dataset: Open your data file in WPS Spreadsheet and select the columns containing your years and corresponding Y values.
  2. 2. Insert a Scatter Chart: Go to the Insert tab on the top ribbon, click the Chart icon, choose Scatter, and select your preferred chart style.
  3. 3. Customize the X-axis: Double-click the X-axis to open the Format Axis panel on the right. Here you can seamlessly adjust numeric bounds or apply specific date formats.
Select, insert, and visualize your scatter charts in just a few clicks.Fully compatible with Microsoft Excel chart formats and formulas (.xlsx).Easily apply custom date strings like 'yyyy' directly from the Format Axis pane.Lightweight, free to use, and features a familiar user-friendly interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my scatter chart show 1, 2, 3 instead of my actual data?

Scatter charts mathematically map coordinates and require strictly numeric values. If your X-axis data is formatted as text or contains hidden characters like a leading apostrophe, the chart cannot read it mathematically. Instead, it plots the points sequentially as row 1, row 2, row 3, and so on.

Can I use a Line Chart instead of a Scatter Chart for years?

Yes. A Line chart treats the X-axis as categorical labels rather than a mathematical scale by default. This means text-formatted years will directly display as labels. However, be aware that a Line chart will space all years equally apart, regardless of the actual time gap between them (e.g., the visual gap between 1985 and 1997 will be identical to 1997 and 1999).

How do I remove hidden apostrophes from multiple cells at once?

You can quickly remove hidden apostrophes by selecting the affected column, clicking on the Data tab, choosing 'Text to Columns', and immediately clicking 'Finish' without altering any settings. This forces the software to re-parse the cells as standard numbers.