close

Login to Excel-King.com

Please use the login boxes below to log in to my webpage. You need to login in i. e. to make sure you can post to the forums.

Log in here!

About the author

Image of Philipp Kowalski

Philipp Kowalski is a self-taught Excel-lover, project manager and blog-owner. Besides developing "beautiful" solutions in MS' premier spreadsheet tool, he loves his fiance, his cats and surfing the net. He is CEO and owner of Inservo IT, the company behind Excel-King. He's also available on Twitter and YouTube. If you like this website, please leave a comment. If you want to know more visit the forums or look into the about section of this website.

What annoys you the most on your charts? One of the answers that you will get to this questions is, that it's often quite difficult to customize the chart itself.

Here is a little trick to give you an easy workaround for the titles of your chart. The normal way of entering a title is right-clicking in your graph, then choosing chart options and on the tab Title changing the title of the chart. But it can be done easier and smoother directly out of the spreadsheet. Imagine that you have a table with a chart like this:

Table 1

  A B C D E
1 Costs and Revenue January - April    
2   Jan Feb Mar Apr
3 Costs 6760 438 3990 4394
4 Revenue 5358 1811 7537 6346

Chart 01

In the chart wizard you may have entered something like Test. That is what I have done in this example. Now simply click the title of your chart and into the formula bar simply enter the equal sign (=) and click the cell that contains your title. In our example this is cell A1 (reading: Costs and Revenue January - April). Press enter (or the green checkmark) and voilà you have the title of your chart.

Chart 01 with dynamic text

The formula bar should now read "=Sheet1$A$1"

The Formula bar

If you e. g. next month enter cost and revenue data for may and change the title in cell A1, the chart title also changes.

UPDATE

As Jon Peltier states in the comments to this post, this will also work on other chart text elements like axis titles etc. If you read through the discussion below, you will see, that there are still enhancements possible to the title. Although you cannot enter any formula, when you are selecting the chart title with the method mentioned in this posts, it of couse still is possible to enhance the title with several functions in the cell it links to. In the below mentioned "formula" - which simply is an concatenation of several cells - we have attached the two "categories" with some binding words and the first and last month we are watching.

=A3&" & "&A4&" "&B2&" - "&E2

The Formula for the chart title in cell A1

Imagine now, that your customer / your bosses / whoever wants to have it in a different language. I work in a German company and for this example I will assume that my bosses decided that the chart should be in German instead of English (fortunately the abbreviations for the months can be "re-used" as they are nearly the same in German). I simply change the cells A3 and A4 - the names of the categories - and there I have the change in the chart title as well.

The updated category names result in new chart title

There you have it! Thank you Jon for your hint!!!

Discuss this blog post in the forums (click the blue button)


Administrator
Written on Thursday, 14 May 2009 00:00 by Administrator

Viewed 271 times so far.
Like this? Tweet it to your followers!

Rate this article

(0 votes)

Latest 'tweets' from Phil Kowalski

  • @jonstank hopefully you mean the tv series ;-) Link Monday, 08 March 2010 09:13
  • RT @happymakernowco Choose Happiness with Gratitude | Happy Maker Now http://bit.ly/cQgPki Link Sunday, 21 February 2010 05:12
  • RT @tweetmeme A Day Through the Eyes of a Blind Woman http://is.gd/7GTLq don't always take everything for granted!! Link Sunday, 21 February 2010 04:47
  • Spinning images http://is.gd/8ARak Link Wednesday, 17 February 2010 11:04
  • How does your Excel look like? http://is.gd/8vpph Link Tuesday, 16 February 2010 08:14

Comments  

 
0 #1 Jon Peltier 2009-05-14 13:51
Remind folks that this trick works for many other (not all) text elements in charts:

Axis Title
Data Labels
Text Boxes (and other shapes)
Quote
 
 
0 #2 Mark 2009-05-14 13:56
Even better would be to Name the A1 cell (in the Name box, or by using “Insert > Name > Define” in Excel 2003) and give it a name like “chartTitle”. Then you can use the formula “=chartTitle” instead of “=Sheet1!$A$1″.

You can also make your chart title even more dynamic by doing something like “=chartTitle & ” ” & TEXT(TODAY();”d d-mmm-yyyy”)
Quote
 
 
0 #3 Administrator 2009-05-14 14:37
Hi Mark,

thank you for your comment.

First part for me works only if you still attach the filename to the title element. Only the “defined name” is not working.

Also the second part (attaching a text to the name) seems not to be working. I tried this in different variations and it worked on normal cells but not on the title element in the charts. The ampersand seems not to be working on text elements in charts.
Quote
 
 
0 #4 Jon Peltier 2009-05-14 16:49
Mark -

The formula in the chart’s text element can only be a single link, not a built up formula. However, you can construct the formula in the cell you link the text element to.
Quote
 
 
0 #5 Administrator 2009-05-14 18:46
Hi Jon,

thanks again for the comment. I will update the post with your information.

Nice to have someone with prominence in Excel here
Quote
 
 
0 #6 coach handbags 2010-05-29 07:55
Every girl love beautiful and fashion, especially the bags,coach handbags are so beautiful and designer that the girls who want one.wellcome to my web coach handbags outlet: www.coach-handbags-outlet.com/ ,we supplier all kinds of coach handbags and all colors for choice.
Quote
 
 
0 #7 coach handbags 2010-05-29 07:57
coach outlet factory: www.coachoutletfactory.com
Quote
 
 
0 #8 wholesale gucci hand 2010-06-13 09:19
we like wholesale gucci handbags
Quote
 
 
0 #9 wholesale gucci hand 2010-06-28 07:28
we like wholesale gucci handbags
Quote
 
 
0 #10 wholesale gucci hand 2010-07-03 10:11
we like wholesale gucci handbags
Quote
 

Add comment


Security code
Refresh

Sign up for updates

Receive the newest blog posts directly into your inbox!

Please note, that all fields are required.

First Name
Invalid Input
Family Name
Invalid Input
Email
Please enter your email address to receive our newsletter.

Please tick the check box to make sure, that you get the newsletter.

Get my VLOOKUP mini series as PDF for FREE as a little Thank You for signing up!

Sharing is caring

Facebook Twitter Digg Delicious Stumbleupon Google Bookmarks RSS Feed 

Tweet, Tweet...

Click the little blue friend to follow Phil on Twitter!

Advertisement

Create Excel dashboards quickly with Plug-N-Play reports.