+ Reply to Thread
Results 1 to 9 of 9

date and text concatenation

  1. #1
    Registered User
    Join Date
    07-22-2005
    Posts
    18

    date and text concatenation

    I tried to concatenate cell A1 with date (27.07.2005) and cell B1 with text (INVOICE 777) by using formula in cell C1 (=A1&" "&B1)and received the following result 38560 INVOICE 777. But I want to see the result as 27.07.2005 INVOICE 777. How to avoid the date convertion? Please advise. TIA.

  2. #2
    Registered User
    Join Date
    07-26-2005
    Posts
    5

    RE: date and text concatenation

    =TEXT(A1,"dd.mm.yyyy")&" "&B1

  3. #3
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Sure.
    =TEXT(A1,"DD.MM.YYYY")&" "&B1

    HTH
    Ola Sandström

  4. #4
    Max
    Guest

    Re: date and text concatenation

    Try in say, C1:

    =TEXT(A1,"dd.mm.yyyy")&" "&TRIM(B1)

    --
    Rgds
    Max
    xl 97
    ---
    GMT+8, 1° 22' N 103° 45' E
    xdemechanik <at>yahoo<dot>com
    ----
    "littleps" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I tried to concatenate cell A1 with date (27.07.2005) and cell B1 with
    > text (INVOICE 777) by using formula in cell C1 (=A1&" "&B1)and received
    > the following result *38560 INVOICE 777*. But I want to see the result
    > as *27.07.2005 INVOICE 777*. How to avoid the date convertion? Please
    > advise. TIA.
    >
    >
    > --
    > littleps
    > ------------------------------------------------------------------------
    > littleps's Profile:

    http://www.excelforum.com/member.php...o&userid=25482
    > View this thread: http://www.excelforum.com/showthread...hreadid=390537
    >




  5. #5
    Bob Phillips
    Guest

    Re: date and text concatenation

    =TEXT(A1,"dd.mm.yyyy")&" "&B1

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "littleps" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I tried to concatenate cell A1 with date (27.07.2005) and cell B1 with
    > text (INVOICE 777) by using formula in cell C1 (=A1&" "&B1)and received
    > the following result *38560 INVOICE 777*. But I want to see the result
    > as *27.07.2005 INVOICE 777*. How to avoid the date convertion? Please
    > advise. TIA.
    >
    >
    > --
    > littleps
    > ------------------------------------------------------------------------
    > littleps's Profile:

    http://www.excelforum.com/member.php...o&userid=25482
    > View this thread: http://www.excelforum.com/showthread...hreadid=390537
    >




  6. #6
    KL
    Guest

    Re: date and text concatenation

    Hi,

    Try this: =TEXT(A1,"dd.mm.yyyy")&" "&B1

    Regards,
    KL


    "littleps" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I tried to concatenate cell A1 with date (27.07.2005) and cell B1 with
    > text (INVOICE 777) by using formula in cell C1 (=A1&" "&B1)and received
    > the following result *38560 INVOICE 777*. But I want to see the result
    > as *27.07.2005 INVOICE 777*. How to avoid the date convertion? Please
    > advise. TIA.
    >
    >
    > --
    > littleps
    > ------------------------------------------------------------------------
    > littleps's Profile:
    > http://www.excelforum.com/member.php...o&userid=25482
    > View this thread: http://www.excelforum.com/showthread...hreadid=390537
    >




  7. #7
    Max
    Guest

    Re: date and text concatenation

    You may also wish to browse Debra's page on "Combining Data" at:
    http://www.contextures.com/xlCombine01.html
    (see especially the section on "Formatting examples" - scroll down)
    --
    Rgds
    Max
    xl 97
    ---
    GMT+8, 1° 22' N 103° 45' E
    xdemechanik <at>yahoo<dot>com
    ----



  8. #8
    Registered User
    Join Date
    07-22-2005
    Posts
    18
    Odicus, Olasa, Max, Bob Philips, KL,

    Thanks a lot, it works perfectly. Max tks for the link.

  9. #9
    Max
    Guest

    Re: date and text concatenation

    You're welcome (from us <g>) !

    It was nice and thoughtful of you to quote
    all respondents to your post in your feedback ..
    (Appreciated !)
    --
    Rgds
    Max
    xl 97
    ---
    GMT+8, 1° 22' N 103° 45' E
    xdemechanik <at>yahoo<dot>com
    ----
    "littleps" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Odicus, Olasa, Max, Bob Philips, KL,
    >
    > Thanks a lot, it works perfectly. Max tks for the link.
    >
    >
    > --
    > littleps
    > ------------------------------------------------------------------------
    > littleps's Profile:

    http://www.excelforum.com/member.php...o&userid=25482
    > View this thread: http://www.excelforum.com/showthread...hreadid=390537
    >




+ 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