Fix an Excel Chart Legend Showing Week Labels Instead of One Series
Question details
Assign the correct series name and week labels to a single-series Excel line chart.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants a line chart to show one legend entry named Test and week labels on the horizontal axis.
- Observed behavior
- The legend shows week labels as separate entries instead of displaying one series.
Identify the cells containing the week labels, the Test header, and the corresponding numeric values. Make sure the week labels and values cover the same number of data points.
Assign the series and category labels in Excel
Use Select Data to replace the unwanted week-based series with one Test series and place the weeks on the horizontal axis.
Select the chart, then choose Chart Design > Select Data.
In the Select Data Source dialog, try Switch Row/Column if Excel has treated each week as a separate series. Check whether Legend Entries (Series) now contains one series.
Under Legend Entries (Series), remove any unwanted week-based entries. Select the remaining series and choose Edit, or choose Add if none remains. Set Series name to the Test header cell and Series values to the numeric data cells.
Under Horizontal (Category) Axis Labels, choose Edit and select the cells containing the week labels. Click OK, then click OK again to update the chart.

Set the chart series and week labels in WPS Spreadsheets
Open the workbook in WPS Spreadsheets and use the chart data settings to define one Test series and assign the week labels to the horizontal axis.
- 1. Open the workbook: In WPS Spreadsheets, choose Open and select the Excel workbook containing the chart.
- 2. Open chart data settings: Select the chart and choose Select Data from the chart tools or the chart's right-click menu.
- 3. Set the series: In the data source dialog, remove unwanted week-based series and edit or add a series. Select the Test header for the series name and the numeric cells for the series values.
- 4. Set the axis labels: Edit the horizontal category axis labels, select the week-label cells, and confirm the dialog. Check that the legend shows one Test entry.

Frequently Asked Questions
Why does my Excel chart show each week in the legend?
Excel may have interpreted each week as a separate series. Select the chart and open Chart Design > Select Data to check the entries under Legend Entries (Series).
Can Switch Row/Column fix the legend?
Yes, if the source data was interpreted in the wrong orientation. Select the chart, choose Chart Design > Select Data, and click Switch Row/Column. Then verify the series name and horizontal axis labels.
How do I rename the single legend entry to Test?
In Chart Design > Select Data, select the series under Legend Entries (Series) and click Edit. Set Series name to the cell containing Test, then confirm.
Where should I select the week labels?
In the Select Data Source dialog, click Edit under Horizontal (Category) Axis Labels and select the cells containing the weeks. Select one label for each plotted value.




