Right-click the legend to change its position, text, or appearance

A legend in Excel is the box that identifies what each color, pattern, or line in your chart represents. To edit it, right-click directly on the legend box itself — not on the chart background. A menu will appear with options to delete it, move it, or open the formatting panel where you can change colors, fonts, and label text.

The fastest edits happen through this right-click menu. For deeper changes — like removing individual series from the legend or renaming what each series is called — you may need to edit the data range the chart is pulling from, or use the "Select Data" option that appears in the same menu.

Excel charts created from a data table automatically pull legend labels from your column or row headers. If you change those headers in the spreadsheet, the legend updates on its own. If you want the legend to say something different without changing your data, you edit the chart's data source instead.

Key Takeaways

  • Right-click the legend box itself to access formatting options, position controls, and the ability to delete or modify it.
  • The legend labels come from your spreadsheet headers by default, so changing those headers changes what the legend displays.
  • Use "Select Data" from the right-click menu to rename individual series, reorder them, or remove them from the legend without deleting them from the chart.
  • You can move the legend to the right, left, top, bottom, or overlay it on the chart area through the "Legend" option in the right-click menu.

Moving a legend to a different position

Right-click the legend and select "Legend" or "Format Legend" (the exact wording depends on your Excel version). A submenu or panel will open showing position options: Right, Left, Top, Bottom, or Overlay. Click the position you want. The legend will move immediately.

If you want the legend to sit on top of the chart data rather than beside it, choose "Overlay". This saves space but can cover part of your chart. You can then drag the legend to a corner where it covers less important data.

Once the legend is positioned, you can click and drag it to fine-tune its exact location. This works even if you chose a preset position — Excel lets you move it manually after that.

Changing what the legend says

The legend pulls its text from your data headers. If your spreadsheet has a column labeled "Q1 Sales" and another labeled "Q2 Sales", the legend will show those exact labels. To change what the legend displays, you have two options: edit the headers in your spreadsheet, or edit the chart's data source.

To edit the chart's data source without changing your spreadsheet, right-click the legend and select "Select Data". A dialog box opens showing each series name. Click a series name and then click "Edit" to change what it says in the legend. Type the new name and click OK. This change affects only the chart, not your original data.

If you edit the spreadsheet headers instead, the legend updates automatically the next time Excel recalculates the chart. This is the simpler route if you are comfortable changing your source data.

Formatting the legend's appearance

Right-click the legend and select "Format Legend" to open a panel with options for font, size, color, and background. You can change the text color, make it bold or italic, adjust the font size, and add a background color or border to the legend box itself.

These changes are purely visual and do not affect what the legend says or what data it represents. If you want the legend to stand out more on a busy chart, increasing the font size and adding a white background can help. If you want it to blend in, use a smaller font and no background.

Some versions of Excel also let you change the legend's transparency and shadow effects from this same panel. Experiment with these options to match your chart's style.

Removing or hiding individual series from the legend

If your chart has five data series but you only want three of them to show in the legend, right-click the legend and select "Select Data". The dialog shows all series. Highlight the one you want to remove and click the minus button (or "Remove" button, depending on your version). The series stays in the chart but disappears from the legend.

This is different from deleting a series entirely. The data still appears on the chart; it just is not labeled. Use this when you have a reference line or a helper series that clutters the legend but you want to keep visible on the chart.

If you want to hide the series from the chart completely, delete it from the "Select Data" dialog instead. If you want to bring it back later, you can undo the change or add it again through the same dialog.

Reordering series in the legend

The order series appear in the legend matches the order they appear in your data table. To change the legend order without rearranging your spreadsheet, right-click the legend and select "Select Data". Highlight a series and use the up or down arrow buttons to move it higher or lower in the list. Click OK when you are done.

This is useful when you want the most important series listed first in the legend, or when you want related series grouped together even though they are not adjacent in your data. The chart itself does not change — only the legend order.

Deleting the legend entirely

Right-click the legend and select "Delete" or "Remove Legend". The legend disappears from the chart. You can bring it back by right-clicking the chart and selecting "Add Legend" or by using the Chart Design tab in the ribbon (if you are in chart editing mode).

Delete the legend if your chart is simple enough that labels are not needed, or if space is tight and you plan to explain the data in text below the chart instead. You can always add it back later if you change your mind.

Frequently Asked Questions

Can I edit the legend text without changing my spreadsheet data?

Yes. Right-click the legend, select "Select Data", click the series name you want to change, click "Edit", and type a new name. This changes only what appears in the legend, not your original data in the spreadsheet.

Why does my legend show series I do not want displayed?

The legend displays every series in your chart by default. To hide a series from the legend without removing it from the chart, right-click the legend, select "Select Data", highlight the series, and click the minus or "Remove" button. The data stays visible on the chart but disappears from the legend.

How do I move the legend to overlap the chart area?

Right-click the legend and select "Legend" or "Format Legend". Choose "Overlay" from the position options. The legend will sit on top of the chart. You can then click and drag it to position it in a corner or area where it covers the least important data.

What if the legend labels are too small to read?

Right-click the legend and select "Format Legend". Find the font size option and increase it. You can also make the text bold to improve readability. If the legend box becomes too large, consider moving it to the top or bottom of the chart to give it more room.

Can I have multiple legends in one chart?

Excel does not support multiple legends in a single chart. If you need to distinguish between different types of data, consider using a secondary axis, adding data labels directly to the chart, or splitting the data into separate charts with their own legends.