Renaming a legend in Excel charts makes your visuals clearer and more professional by replacing generic series names (like "Series1") with meaningful labels. You’ll need an existing chart with at least one data series—no special tools or add-ins required. This works in Excel for Microsoft 365, Excel 2021, Excel 2019, and Excel 2016 on Windows and macOS.

What You'll Need

  • A chart inserted into your Excel worksheet (e.g., column, line, bar, or scatter chart)
  • The original data source used to create the chart (to identify which series corresponds to which label)

Step-by-Step

  1. Click on the chart to activate it. You’ll see chart-specific tabs appear in the ribbon (Chart Design, Layout, and Format). If you don’t see these, click anywhere inside the chart border to ensure it’s selected.
  2. Locate the legend. It typically appears on the right side of the chart by default, but may be positioned elsewhere (top, bottom, left) or even hidden. If the legend is missing, go to Chart Design > Add Chart Element > Legend, and choose a position (e.g., Right).
  3. Identify which legend entry you want to rename. Each legend entry corresponds to a column or row in your data source (a series). For example, if your data has headers like "Q1 Sales" and "Q2 Sales", those usually appear as legend entries.
  4. To rename a legend entry, you must change the source label in the original data range—not directly on the legend itself. Select the cell containing the header for the series you want to rename (e.g., cell B1 for the first series if B2:B10 holds the data).
  5. Type the new name directly into that cell (e.g., change "Series1" to "Online Sales") and press Enter. Excel automatically updates the legend to reflect the new name.
  6. Verify the change: the chart legend should now display your updated label. If it doesn’t update immediately, press F9 to force a recalculation, or click outside the chart and click back in.

Common Mistakes

  • Trying to rename the legend directly by clicking and typing on the legend text. Excel doesn’t allow this—legend entries are dynamically linked to the data source, so editing them directly is impossible in most versions.
  • Editing the wrong cell: Make sure you’re editing the header cell that defines the series name, not a data cell. If you edit a data value instead of the header, the legend won’t change.
  • Working with hidden or filtered rows/columns: If your data range includes filtered rows, Excel might not update the legend correctly. Clear filters before renaming to avoid inconsistencies.
  • Using formulas in the header cell: If the series header is a formula (e.g., =A1&B1), Excel may display the formula text instead of the calculated value in the legend. Replace it with a static value or ensure the formula result is what you want.

Tips

  • Use clear, concise headers in your data table from the start. A well-structured table with descriptive column/row titles prevents renaming later.
  • For charts with multiple series, group related data logically (e.g., place all "Online" series in adjacent columns with consistent naming like "Online - Q1", "Online - Q2"). This makes legend management easier.
  • When inserting a new chart, select your entire data range—including headers—so Excel automatically assigns meaningful names to series.
  • To rename multiple legend entries at once, edit all relevant header cells first, then click the chart to refresh. Excel updates all linked legend entries in one pass.
  • Use the Format Legend pane for layout adjustments (e.g., columns, font size), but remember: content changes still require editing the source data.

Troubleshooting

If your legend doesn’t update after changing the header cell, follow these checks:

  1. Confirm the chart is still linked to the original data range. Right-click the chart > Select Data. In the Select Data Source dialog, verify the series name field (e.g., =Sheet1!$B$1) points to your edited header cell. If it references a different cell, click Edit next to the series and reselect the correct header.
  2. Check for accidental spaces or special characters in the header. Copy the cell and paste it into a plain text editor (like Notepad) to see hidden characters. Delete and retype the text if needed.
  3. Ensure the chart isn’t using a static series name. Some older charts (e.g., from Excel 2003) may embed series names as text. In newer Excel, this is rare, but if Select Data shows a series name like ""Sales"" (with quotes), manually edit the series name field to reference the cell instead (e.g., =Sheet1!$B$1).
  4. Verify no conditional formatting or data validation is locking the header cell. Right-click the header cell > Format Cells > Protection tab, and ensure the "Locked" box isn’t checked if sheet protection is enabled.
  5. If you’re using Excel Online (browser version), some chart features behave slightly differently. Try switching to the desktop app if renaming fails, as online versions may lag in updating charts.

Frequently Asked Questions

Can I rename a legend entry without changing the original data?

No—Excel legends are always driven by the source data. There’s no built-in way to override legend text independently. If you must keep the original header unchanged, create a hidden column with custom names and use that as the series header instead.

Why does my legend show "#NAME?" or an error?

This happens when the series header cell contains a formula that returns an error, or Excel can’t resolve the cell reference. Fix the formula in the header cell, or replace it with the actual text value (e.g., type "Revenue" directly instead of =CONCAT("R","evenue").

How do I rename legends in a combo chart?

Exactly the same way: edit the header cell for each series in your data table. Combo charts (e.g., column + line) treat each series independently, so update the relevant column/row headers to rename the corresponding legend entries.

Can I rename the legend title (e.g., "Series", "Legend Title")?

Yes—but that’s separate from renaming individual entries. To change the legend’s title text (if visible), click the legend, then go to Format > Format Selection > Legend Options. Enter a new title in the "Legend Title" field. Note: This adds a top-level title (like "Sales by Region"), not individual item names.

My legend still shows the old name after editing the cell—what’s wrong?

Check if the workbook is set to manual calculation. Go to Formulas > Calculation Options and ensure "Automatic" is selected. If it’s on Manual, Excel won’t refresh the chart until you press F9 or switch to Automatic.

Does this work for pivot chart legends?

Yes, but the process differs slightly. For pivot charts, rename the field in the pivot table’s row/column labels (e.g., right-click a pivot field > Field Settings, then change the name). The pivot chart legend updates automatically when the pivot table refreshes.