+ Reply to Thread
Results 1 to 7 of 7

Thread: Concatenate formula utilizing Today()

  1. #1
    Forum Contributor
    Join Date
    07-01-2010
    Location
    United States, Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    116

    Concatenate formula utilizing Today()

    I'm using a concatenate formula, in conjunction with today(), so that every time I open up my master template it has the current date. The equation produces the wrong date which I found interesting:

    =CONCATENATE("My"," ","Comments"," ","-"," ",TODAY())

    The formula is sound,but shows: "My Comments - 040402"

    Why is this happening/how can it be fixed?

    Thanks!
    Last edited by wmfinance; 08-12-2010 at 02:20 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Concatenate formula utilizing Today()

    Try:

    =CONCATENATE("My"," ","Comments"," ","-"," ",TEXT(TODAY(),"mm/dd/yyyy"))

    you can change the mm/dd/yyyy format to what you desire.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,637

    Re: Concatenate formula utilizing Today()

    TRy

    =CONCATENATE("My"," ","Comments"," ","-"," ",TEXT(TODAY(),"dd/mm/yy"))

    TDQ
    NBVC
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  4. #4
    Extremely Helpful member
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,127

    Re: Concatenate formula utilizing Today()

    40402 is how XL sees today's date. By applying NBVC ' s formula you format it in a more usual way.
    see how XL stores dates and times
    Quoting entire posts clutters the forum and makes threads hard to read !

    If you are pleased with a member's answer then use the Star icon to rate it

    Click here to see forum rules

  5. #5
    Forum Contributor
    Join Date
    07-01-2010
    Location
    United States, Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    116

    Re: Concatenate formula utilizing Today()

    Interesting, I was extremely confused when I saw that we lived in in 4/04/02 haha. I knew excel could do many things, but time travel????

    Thanks a ton and reps have been bumped up.

  6. #6
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,637

    Re: Concatenate formula utilizing Today()

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  7. #7
    Forum Contributor
    Join Date
    07-01-2010
    Location
    United States, Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    116

    Re: Concatenate formula utilizing Today()

    Done, I usually do but I got caught up at work for a few.

+ 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.2.0