How to Add Axis Titles, a Chart Title and a Legend in Excel – LicenceHouse guide

To add axis titles in Excel, click the chart, select the Chart Elements button (the + sign beside the chart) and tick Axis Titles. Then click each "Axis Title" placeholder and type your label. You can also use Chart Design > Add Chart Element > Axis Titles > Primary Horizontal or Primary Vertical.

Chart element Quickest way to add it
Axis titles + button > Axis Titles
Chart title + button > Chart Title, then type in the box
Legend + button > Legend, arrow to choose Right, Top, Left or Bottom
Series name Right-click chart > Select Data > Edit > Series name
Goal or target line Add a target column, then change that series to a Line

How do you label an axis in Excel?

You label an axis in Excel by adding an axis title from the Chart Elements menu, then typing over the placeholder. Excel adds titles for the horizontal and vertical axes together, and you can remove either one afterwards.

Five steps to add axis titles to an Excel chart: click the chart, open the + Chart Elements button, tick Axis Titles, type Month and Sales (GBP).

Here is a worked example. Say A1:B7 holds monthly sales, and you have inserted a column chart:

Month Sales
Jan 12,400
Feb 11,900
Mar 14,250
Apr 15,100
May 13,800
Jun 16,300
  1. Click anywhere on the chart.
  2. Click the + (Chart Elements) button at the top-right of the chart.
  3. Tick Axis Titles. Two "Axis Title" boxes appear.
  4. Click the box under the horizontal axis, select its text and type Month.
  5. Click the box beside the vertical axis and type Sales (GBP).

To add just one axis title, hover over Axis Titles in the Chart Elements list, click the arrow and tick only Primary Horizontal or Primary Vertical. From the keyboard on Windows, select the chart and press Alt, J, C, A, A, then H for horizontal or V for vertical.

Pie and doughnut charts have no axes, so they cannot have axis titles. Use the chart title or data labels instead. Microsoft explains this on its add or remove titles in a chart page.

How do I add a title to an Excel chart?

To add a chart title, click the chart, open the + button and tick Chart Title. Then click the title box and type. Many chart styles add a "Chart Title" placeholder automatically, so you may only need to replace the text.

Chart title linked to cell =Sheet1!$D$1 so the title updates automatically, for example to show the current month using TODAY().

Use the arrow next to Chart Title to choose Above Chart or Centered Overlay, which places the title over the plot area without shrinking it. More Options opens the Format Chart Title pane for fill, border and text settings.

To link a title to a cell so it updates automatically:

  1. Click the chart title once to select it.
  2. Click in the formula bar and type =.
  3. Click the cell that holds the title text, for example D1, and press Enter.

The formula bar shows something like =Sheet1!$D$1. If D1 contains ="Sales "&TEXT(TODAY(),"mmmm yyyy"), the chart title always shows the current month. The same trick works for axis titles.

How do I add a legend to a chart in Excel?

To add a legend, click the chart, open the + button and tick Legend. Hover over Legend and click its arrow to place it on the Right, Top, Left or Bottom.

Excel chart legend tasks: tick Legend under the + button, place it right, top, left or bottom, format it, delete single entries or the whole legend.

For finer control, double-click the legend to open the Format Legend pane. Under Legend Options you can set the position and untick Show the legend without overlapping the chart if you want it to float over the plot area. You can also drag the legend to any spot by its border.

To remove one entry, click the legend once, click the entry again to select it alone, and press Delete. The series stays on the chart. Microsoft's add a legend to a chart page covers restoring a legend that was removed.

What we commonly see: a single-series chart with a legend that just says "Sales" or "Series1". It adds clutter and repeats the title. For one series, delete the legend and put the meaning in the chart title or axis title. Keep legends for charts with two or more series, and place them at the top or bottom so they line up with how people read the chart.

How do I change or edit a series name in Excel?

To change a series name, right-click the chart and choose Select Data. Under Legend Entries (Series), select the series, click Edit, type a new name in Series name and click OK twice.

The name you type appears in the legend and tooltips, but it does not change the worksheet. You can also enter a cell reference such as =Sheet1!$C$1 in the Series name box so the name follows that cell. Microsoft's rename a data series page shows the same dialog.

The simplest fix is often in the data itself. Excel takes series names from the header cells above each column. If your legend shows Series1 and Series2, your data probably had no headers when you made the chart. Type headers in the top row, then use Select Data > Edit to point each series at its header cell.

How do I add a horizontal goal line to an Excel chart?

To add a goal or target line, add a column with the target value in every row, include it in the chart, and change that series to a line. It works on column, bar and line charts.

  1. Next to the sales data, type Target in C1 and 14000 in C2:C7.
  2. Click the chart, then drag the blue range outline on the sheet to include column C. Or use Select Data > Add.
  3. Right-click the new Target bars and choose Change Series Chart Type.
  4. Set the Target series to Line and click OK.

You now have a flat line at 14,000 across the chart. For an average line, use =AVERAGE($B$2:$B$7) in column C instead. Our guide to averages in Excel explains which average to use. To show uncertainty rather than a fixed goal, see our guide to adding error bars in Excel.

Advanced nuance: on a column chart, the line starts and ends in the middle of the first and last columns, not at the chart edges. To stretch it fully, put the line on the secondary axis, show the secondary horizontal axis, then in Format Axis set Axis position to On tick marks and hide that secondary axis again.

How do I rotate a pie chart in Excel?

To rotate a pie chart, right-click any slice, choose Format Data Series and change Angle of first slice in the pane. A value of 90 turns the pie a quarter turn clockwise.

Rotating helps when a small slice and its label sit awkwardly, or when you want the biggest slice to start at 12 o'clock. The same setting works for 3-D pie and doughnut charts. Microsoft's rotate a pie chart page has a worked example.

These steps are the same in Excel 2016, 2019, 2021, 2024 and Microsoft 365 on Windows. In Excel 2016 the ribbon tab is called Design under Chart Tools, rather than Chart Design. On a Mac, select the chart and use Chart Design > Add Chart Element to add titles, axis titles and the legend. If you're choosing an edition for chart work, the Office 2024 collection lists the current Windows and Mac versions.

Frequently asked questions

Why can't I add axis titles to my chart?

Pie, doughnut, treemap and sunburst charts have no axes, so Axis Titles does not appear in the Chart Elements list. If your chart type does have axes, make sure the chart itself is selected, not a cell, because the + button and the Chart Design tab only appear while the chart is selected. Then try Add Chart Element on the ribbon.

How do I rotate the vertical axis title in Excel?

Right-click the vertical axis title and choose Format Axis Title. Open Size & Properties, the icon that looks like a square with arrows, and change Text direction to Rotate all text 270°, Horizontal or Stacked. Horizontal titles are easier to read but take more width, so keep them short, such as "GBP" instead of "Sales in pounds".

How do I change the legend text without changing my data?

Right-click the chart, choose Select Data, select the series under Legend Entries (Series) and click Edit. Type the new name in the Series name box and click OK twice. The legend updates, but the header cell on the sheet stays the same. To keep them in sync later, enter a cell reference instead of typed text.

How do I move the legend to the bottom of the chart?

Click the chart, open the + button, hover over Legend, click the arrow and choose Bottom. Alternatively, go to Chart Design, Add Chart Element, Legend, Bottom. The plot area resizes to make room. For a custom position, double-click the legend and drag it, or set options in the Format Legend pane.

Can I add a title to the legend in Excel?

Excel has no built-in legend title. A common workaround is to insert a text box above the legend with Insert, Text Box while the chart is selected, so it stays inside the chart. Another is to include the description in the chart title or in each series name, which avoids an extra element that can drift out of place.

Related guides

Links in this guide

Link Type Why it helps
Microsoft Support: Add or remove titles in a chart External Official chart title and axis title steps
Microsoft Support: Add a legend to a chart External Adding and restoring legends
Microsoft Support: Rename a data series External Select Data dialog for series names
Microsoft Support: Rotate a pie chart External Angle of first slice setting
Average of averages in Excel Internal Choosing the right average for a chart line
Add error bars in Excel Internal Showing variation instead of a fixed line
Office 2024 licence keys Internal Current Windows and Mac editions
Excel tutorial for beginners Internal Creating your first chart
Excel keyboard shortcuts Internal Key tips for chart commands
Excel, Excel charts, How-to