+ Reply to Thread
Results 1 to 12 of 12

Formula for automatic title

  1. #1
    Registered User
    Join Date
    11-23-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    18

    Question Formula for automatic title

    Hey everyone,

    My English isn't very well so i'm gonna try to make you guys understand my question.
    I have a workbook with lots of data and graphics.
    Now my question is if someone knows how you can add an automatically title for the graphic.
    Is there some formula or something? I was thinking about a message box that writes it to the title, but i'm a bit stuck with how to do it.
    Or can you make it work by using hidden fields or with the date of today.
    It should be with months. Some text needs to stay but the month should be changed.
    Like now it is the 29th of November then in the title should be texttexttexttex November texttexttext ...
    When it is the first of December there shoul be texttexttext December texttexttext.
    Is this possible or not ?

    Kind regards and thanks a lot

  2. #2
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Formula for automatic title

    Welcome to the forum!

    What you want is possible, and pretty simple to do, but difficult to explain. I'll try, though.

    First, you need to get whatever text you want to appear in the title of the graph in a cell. Lets say you do it in A1. Your formula for A1 would be:
    ="abcdef "&TEXT(TODAY(),"MMMM")&" abcdef."
    Replace the abcdef with whatever text you want.

    Next, insert a rectangle shape and select it. Then, with the rectangle shape selected, in the formula bar, use the formula =A1.

    Format the rectangle the way you want, and position it where you want.

    Thats it, you are done!

    Don't forget to click the little star to the left of this post if you feel I helped!
    Last edited by TheExcelphile; 11-29-2012 at 10:55 AM.
    Taming the Excel dragon... www.TheExcelphile.com

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

    Re: Formula for automatic title

    Something like this..perhaps
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    11-23-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Formula for automatic title

    I get immediately errors when I type the formula.
    I typed the formula in a cell like you told -
    = "Aging open Calls "&TEXT(TODAY(),"MMMM")
    Could you tell me what i put wrong in the formula ?
    Thnx

  5. #5
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Formula for automatic title

    I can't really see anything wrong with the formula. I pasted it as it is in a worksheet, and it worked for me.
    Tell you what... why don't you upload a sample sheet, so we have something to work on?

  6. #6
    Registered User
    Join Date
    11-23-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Formula for automatic title

    I copied the formula of the file that was posted here and now it is working.
    But it's not what they were looking for. You guys helped me with my question but i understood it wrong.
    I thought it would be easier if the month would be automatically, but now they say that if someone is sick that should make that document and she should make it from 2 months that the month isn't correct anymore.
    Like when she wants to make in December the printscreens of the Graphics from November and December the month stays on December.
    Does this change a lot to the formula or not ?
    Thnx

  7. #7
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Formula for automatic title

    Try this formula:
    = "Aging open Calls "&B1
    where in B1, you type the name of the month manually.

  8. #8
    Registered User
    Join Date
    11-23-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Formula for automatic title

    Is it possible that you have a list on the homepage and that you just need to select the month and it changes automatically in th formula ?

  9. #9
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Formula for automatic title

    Sure! Add a drop down list to B1 from my earlier example.

    If you want to learn how to create a drop down list, go here.

  10. #10
    Registered User
    Join Date
    11-23-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Formula for automatic title

    Ok thnx i'm gonna try it

  11. #11
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Formula for automatic title

    You'll end up with something like this...
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    11-23-2012
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Formula for automatic title

    Thnx a lot guys you helped me a lot ! It works and everyone is happy

+ 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