Chart & Visualization Issues

Edit Excel Chart Category Labels and Data Ranges

Camila MilosovichCamila Milosovich Nov 18, 2026 869 views

Question details

Correct chart category labels and series names by checking the chart's source data and references.

Edit Excel Chart Category Labels and Data Ranges
Product
Microsoft Excel
Device & OS
not provided
Scenario
Editing a chart whose axis labels or series names do not match the intended worksheet data.
Observed behavior
Excel appears to allow only the first label to be edited or assigns incorrect axis values.
Before you start

Identify the cells containing the category labels, series names, and values. Check the chart type, because an XY scatter chart uses numeric X values rather than a standard category-label range.

Solution 1Recommended

Correct the chart data range and category labels in Excel

Use Select Data to connect the chart to the complete source table and correct individual series and axis references.

1
Open the source settings

Right-click the chart and select Select Data. In Chart Data Range, select the complete table, including labels and headers, such as B10:D13.

2
Check the category labels

Under Horizontal (Category) Axis Labels, select Edit and choose the cells containing all category labels, such as B11:B13. Select OK.

3
Correct each series

Under Legend Entries (Series), select a series and choose Edit. Set Series name to its header cell and Series values to the matching data cells, then select OK.

4
Check the chart orientation

In Select Data Source, select Switch Row/Column if Excel has interpreted categories and series in the wrong direction. Review the preview and select OK.

Correct the chart data range and category labels in Excel
For XY scatter charts: A scatter chart uses numeric X values. In Select Data, edit each series and correct its Series X values and Series Y values instead of editing a category-label range.
Edit charts in WPS Spreadsheets

Correct chart labels and source data in WPS Spreadsheets

Open your workbook in WPS Spreadsheets and use the chart's data selection controls to review its source range, category labels, and series names.

  1. 1. Open the workbook: In WPS Spreadsheets, select Open and choose the Excel workbook containing the chart.
  2. 2. Select the chart data: Right-click the chart and choose Select Data. Select the complete source table, including the headers and category labels.
  3. 3. Review labels and series: In the data selection dialog, check the category-label range and edit each series name and values as needed. Confirm the changes.
  4. 4. Save the workbook: Check the chart, then select File > Save or Save As to keep the updated workbook.
Update chart source ranges and labels from the worksheetOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interfaceWork with a free Office alternative
QA img-9

Frequently Asked Questions

Why does my Excel chart show the wrong category labels?

The chart may reference the wrong cells or omit part of the source table. Right-click the chart, choose Select Data, and check the Chart Data Range and Horizontal (Category) Axis Labels.

How do I change a chart series name?

Right-click the chart and choose Select Data. Under Legend Entries (Series), select the series, choose Edit, and update the Series name reference or text.

Why can't I edit category labels on my scatter chart?

An XY scatter chart plots numeric X values rather than standard category labels. In Select Data, select a series and choose Edit to change its Series X values.

Will a secondary axis fix incorrect chart labels?

No. A secondary axis helps display a series on a different scale. To fix labels, use Select Data to correct the category-label range or series references.