Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Using Dynamic Chart Titles.

Using Dynamic Chart Titles

by Allen Wyatt
(last updated August 8, 2020)

2

There is a very cool way, apparently not well known, of adding 'active' or 'live' titles and other text to charts. In this way you can make a change in a worksheet and have that change reflected in a title in the chart. Follow these steps:

  1. Create your chart as you normally would.
  2. Add whatever titles, datapoints, axis names, etc. are desired.
  3. Select the title you want to modify. Small handles should appear around the title.
  4. In the Formula bar enter the address of the cell you want to use for the title. (Make sure the address includes the sheet name with it.) For instance, if the title is in cell A1 of the MySheet worksheet, you would enter the following in the formula bar:
     =MySheet!$A$1

That's it. Now, whenever the contents of A1 are changed Excel updates the information in the chart's title.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9701) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Using Dynamic Chart Titles.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Formatting the Border of a Legend

When you create a chart, Excel often includes a legend with the chart. You can format several attributes of the legend's ...

Discover More

Finding the Date Associated with a Negative Value

When working with data taken from the real world, you often have to determine which certain conditions were met, such as ...

Discover More

Two-Line Headings in a TOC

If you use the TC field to mark what goes in a TOC, you may wonder why if you mark two lines together with the field, ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Make that Chart Quickly!

Need to generate a chart in the fastest possible way? Just use this shortcut key and you'll have one faster than you can ...

Discover More

Creating a Log/Log Chart

If you need to create a chart that uses logarithmic values on both axes, it can be confusing how to get what you want. ...

Discover More

Controlling Chart Gridlines

Gridlines are often added to charts to help improve the readability of the chart itself. Here's how you can control ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 + 4?

2020-08-10 18:41:03

Ronmio

To elaborate on Allen's tip and Dave's suggestion, since Excel only allows a simple "=" pointing to a single cell, you need to get creative in the referenced cell.

[sorry about the duplicates from trying to decipher how to insert an image]


My formulas (hidden behind the graph as Dave suggested) typically use concatenation. For example, by using a couple of helper cells (LargestDate whose formula is =Large(Date,1) and FifthLargestDate whose formula is =Large(Date,5), both also hidden behind the chart), this formula ...

="Daily Volumes (averaging "&AVERAGEIFS(Amount,Date,"<="&LargestDate,Date,">="&FifthLargestDate)&" over the most recent 5 days)"

will produce a dynamic Chart Title (or Axis Name, etc.) that reads like this,

Daily Volumes (averaging 22.6 over the most recent 5 days)

Like Dave, my charts will often contain many expressive chart elements.

Along the same lines, I will add a text box in the chart to create a more expressive "Legend". One big advantage of using a text box within a chart is that you can tailor it extensively (e.g., right clicking on some or all the text to add bullets, condense the line spacing using Paragraph formatting, etc.

(see Figure 1 below)

Figure 1. 


2020-08-10 11:13:59

Dave

I often skip using Excel's chart and axis titles.

Instead, I use the cells under the chart for these titles.

Why? For more flexibility. I can format the cells any way I want, including coloring some font characters, adding subtitles and all that stuff.

I sometimes even do that for the category axis titles of bar charts. For horizontal bar charts, I use one row for each horizontal bar. For vertical bar charts, I use one column for each vertical bar. It sometimes takes a bit of fiddling, so I save this technique for only where it adds value.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.