How to Edit Series Name in Excel
In this article
You can edit a chart series name directly in the formula bar by clicking the series and typing a new name or reference. This updates the chart immediately without deleting and recreating the graph. You will need an existing chart with a series that uses a cell reference or a simple text string.
What You'll Need
- Microsoft Excel installed on a Windows PC or Mac.
- A dataset with headers and at least one column of numerical data.
- An existing chart (Column, Line, Pie, or Bar) that plots data from your dataset.
- Basic knowledge of how to select cells and use the formula bar.
Step-by-Step
- Locate the Chart: Open your Excel workbook and navigate to the worksheet containing the chart you wish to edit. If the chart is on a different sheet, click the sheet tab at the bottom of the window to switch to it.
- Select the Chart: Click directly on the chart area. You will see the chart borders resize and the chart title highlight. All data series within the chart will be highlighted.
- Identify the Series to Rename: Look at the chart legend or the data labels to identify which specific series you want to rename. In the example below, we have a chart with three series: "Q1 Sales", "Q2 Sales", and "Q3 Sales".
- Open the Format Data Series Pane: With the chart selected, look for the "Format" tab that appears in the Excel ribbon at the top of the screen. Click on this tab.
- Choose Series Options: Inside the Format tab, look for the sidebar or pane that has opened on the right side of the screen. Find the icon labeled "Series Options" (usually looks like a stacked bar chart icon). Click on it.
- Access the Formula Bar: At the very top of the Excel window, right next to the standard formula bar (where you usually type =SUM(A1:A10)), locate the text box labeled "Series Name". This box will contain the current name of the selected series, such as "=Sheet1!$C$1" or simply "Q1 Sales".
- Edit the Name: Click inside the "Series Name" text box. The text will highlight. Now, type the new name you want to use. You can type a simple text label (e.g., "Revenue 2023") or a cell reference (e.g., "=Sheet1!$D$5"). If typing a cell reference, ensure the cell you are pointing to contains the correct text.
- Verify the Change: Press the Enter key on your keyboard. The chart legend and any data labels associated with that series will update instantly to reflect your new series name. The formula bar should now display your new entry.
- Repeat for Other Series: If you need to edit the names of other series, simply click on a different bar or line segment on the chart, then repeat steps 5 through 8 for that specific series.
Common Mistakes
Editing the Wrong Element: A common confusion occurs when editing the chart title versus the series name. The chart title is at the very top of the chart and describes the whole graph. The series name is found in the legend and describes a specific column of data. Clicking the chart title will not allow you to edit series names; you must click a specific bar or line first.
Editing the Data Values Instead: When a series is selected, the formula bar might display the range of data values (e.g., "=Sheet1!$A$2:$A$5"). Do not edit this range if you want to change the name. Editing this range changes the data points themselves. To change the name, look for the specific "Series Name" field in the pane, not the data range field.
Using Absolute References Incorrectly: If you are editing a series name to point to a cell (e.g., "=Sheet1!$A$1"), ensure the dollar signs are correct. If you plan to copy the chart to a new location or worksheet, you usually want the reference to be absolute (with $ signs) so it always looks up the correct cell. If you omit the dollar signs, Excel will try to adjust the reference relative to the new location, which may result in a "#REF!" error if the new location doesn't have the same data structure.
Tips
Use Cell References for Dynamic Names: The most powerful way to edit series names is to link them to cells. If you have a list of years in column A and your data in column B, set the first series name to "=A2". As you type "2024" into cell A2, the chart series name will automatically update. This is superior to manually typing names because it keeps your chart data and labels synchronized.
Shorten Names for Small Charts: If the chart is very small, long series names might not fit in the legend. Consider using abbreviations (e.g., "Rev" instead of "Revenue") or using data labels (click "Add Data Labels" on the Chart Design tab) to display the series name directly on the bars or lines for better readability.
Use the Name Box: You can also use the Name Box (the box to the left of the formula bar that shows the cell address, e.g., "A1") to jump to the specific cell that contains the series name. Clicking the series name in the legend or the bar itself doesn't always take you to the cell, but typing the cell address into the Name Box and pressing Enter will highlight it.
Troubleshooting
The Series Name Does Not Change: If you make a change in the formula bar but the chart does not update, ensure you have pressed the Enter key. Sometimes, simply pasting text into the box doesn't register the change; a carriage return is required. Additionally, check if the formula bar is read-only. If you are using a protected worksheet, you may need to unprotect it (Review > Unprotect Sheet) before editing formulas.
#REF! Error in Series Name: If you see a #REF! error in the formula bar, it means the cell reference you typed no longer exists. This usually happens if you deleted the row or column that the series name was pointing to. To fix this, select the series name again, delete the reference, and type a new valid cell address or text string.
Changing the Name Does Not Update the Legend: If the legend is not updating, check if the chart is set to use a specific style that hides the legend or if the legend is locked. Go to the "Chart Design" tab, select "Add Chart Element," and ensure "Legend" is selected. If it is grayed out, the sheet might be protected or the chart might be an image pasted from another program.
Frequently Asked Questions
Can I edit a series name on a mobile Excel app?
Yes, but the interface is different. Tap on the chart to select it, then tap the three dots (...) or the "Edit" icon often found in the top right corner of the chart area. Look for the option to edit the series or the legend. The steps to access the formula bar are not available on mobile versions.
Why does my series name appear as a formula like "=Sheet1!$C$1" instead of text?
This is normal behavior in Excel. It indicates that the series name is currently linked to a specific cell on your worksheet. If you want the name to be just plain text without the reference, click inside the formula bar, press the F2 key to switch to edit mode, and delete the "=Sheet1!$" part, leaving just the text.
Can I rename the series in the legend directly?
No, you cannot click directly on the text inside the legend and type a new name. The legend is a visual representation of the data series. You must edit the series name in the formula bar as described in the steps above to change what the legend displays.
Does editing the series name change the underlying data?
No. Editing the series name only changes the label or title for that specific data series. It does not modify the numbers in the cells or the data points plotted on the chart.
How do I rename a series if the chart is a Combo chart?
The process is the same. Click on the specific line or column you want to rename (you can often click through the overlapping items by clicking multiple times until the correct one is selected). Then, follow the steps to open the Format Data Series pane and edit the Series Name field.