+ Reply to Thread
Results 1 to 5 of 5

join text from multiple cells to one cell

  1. #1
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    join text from multiple cells to one cell

    hi,

    i know this is easy but i don't have an idea how to do it.

    uhmm..I have dates written on column A1:A7 like

    29-Mar-09
    30-Mar-09
    31-Mar-09
    1-Apr-09
    2-Apr-09
    3-Apr-09
    4-Apr-09

    what I would like to do is how can I combine 29-Mar-09 and 4-Apr-09 into one cell...I would like the output to be placed in cell A8 appear as "29-Mar-09 to 4-Apr-09". I appreciate any help...thanks


    regards,

    stoey

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: join text from multiple cells to one cell

    Does this help

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Re: join text from multiple cells to one cell

    hi VBA Noob,

    I appreciate your quick response...i apologize for not being clear...i forgot to mention, can this be done by placing the code on the formula bar of excel?



    regards,

    stoey

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: join text from multiple cells to one cell

    can this be done by placing the code on the formula bar of excel?
    Do you mean you want a formula and not code?

    If so why post to Programming?

    Try
    =TEXT(A1,"dd-mm-yy")&" to "&TEXT(A7,"dd-mm-yy")
    VBA Noob

  5. #5
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Re: join text from multiple cells to one cell

    hi,

    Please Login or Register  to view this content.
    this code works! thanks a lot! oops sorry if I post on the wrong board...can you please tell me how to relocate this post so i may transfer it on the proper board. thanks again!

    regards,

    stoey

+ 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