+ Reply to Thread
Results 1 to 8 of 8

Dynamic Chart Title

  1. #1
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Dynamic Chart Title

    I need to insert todays date in a chart title. How can I make a dynamic chart title?

    I am able to included todays date by using a custom header but wish to have a dynamic chart title.
    Click on star (*) below if this helps

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Dynamic Chart Title

    Hi
    I don’t think it is possible to have a dynamic formula in the chart title except one that links it to a cell.

    You can either link the chart title to a cell with your formula, eg

    In cell F1 type the formula:
    Please Login or Register  to view this content.
    And set your chart title formula to
    Please Login or Register  to view this content.
    Or you could use a macro something like this:

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Dynamic Chart Title

    When I set the chart title to =Sheet1!$F$1, what I get is =Sheet1!$F$1. Excel does not try to evaluate it

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Dynamic Chart Title

    After clicking on the title, you need to enter =Sheet1!$F$1 in the formula bar
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Dynamic Chart Title

    If I want today's date how does the macro below work?

    Please Login or Register  to view this content.
    Also I wish to have a two line title for the graph. Don't think this helps

  6. #6
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Dynamic Chart Title

    After clicking on the title, you need to enter =Sheet1!$F$1 in the formula bar

    Still doesn't work

  7. #7
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Dynamic Chart Title

    Hi
    A macro can add a two-line title if you like:

    Sub chart_title()
    ActiveChart.ChartTitle.Formula = "Chart of Widgets" & chr(13) & "Data For " & Format(Date, "dd/mmm/yy")
    End Sub

    or, if you are linking to a cell, add a line break by using a formula like this in your source cell:


    Please Login or Register  to view this content.

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Dynamic Chart Title

    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1