Text String and Date Formula
Text String and Date Formula
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Text String and Date Formula

  1. #1
    New Member
    Join Date
    Mar 2002
    Location
    Japan
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I would like to combine a text string with the date formula "=Today()" in a single cell such as:

    ="Transactions as of" Today()

    When I use an "&" to contect the text string and the date formula, the results is the value of the date. How do I get the correct date format?

    Thanks

    _________________


    [ This Message was edited by: Hayesk on 2002-03-25 02:16 ]

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,872
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-03-25 02:15, Hayesk wrote:
    I would like to combine a text string with the date formula "=Today()" in a single cell such as:

    ="Transactions as of" Today()

    When I use an "&" to contect the text string and the date formula, the results is the value of the date. How do I get the correct date format?

    Thanks

    _________________


    [ This Message was edited by: Hayesk on 2002-03-25 02:16 ]

    ="Transactions as of "&TEXT(TODAY(),"mm/dd/yy")


    Change the "mm/dd/yy" bit into one that you prefer.

  3. #3
    MrExcel MVP Ivan F Moala's Avatar
    Join Date
    Feb 2002
    Location
    Auckland, New Zealand
    Posts
    4,209
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-25 02:15, Hayesk wrote:
    I would like to combine a text string with the date formula "=Today()" in a single cell such as:

    ="Transactions as of" Today()

    When I use an "&" to contect the text string and the date formula, the results is the value of the date. How do I get the correct date format?

    Thanks

    _________________


    [ This Message was edited by: Hayesk on 2002-03-25 02:16 ]
    Try

    ="Transactions as of " & TEXT(TODAY(),"dd/mm/yy")

    Ivan

  4. #4
    New Member
    Join Date
    Mar 2002
    Location
    Japan
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thanks, works like a charm.

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com