+ Reply to Thread
Results 1 to 5 of 5

Concatenate

  1. #1
    Registered User
    Join Date
    02-14-2006
    Posts
    24

    Unhappy Concatenate

    col1 col2

    1 1,2,3,4
    2
    3
    4

    I have data in col1 and I want to transfer the data into col2 with this lay out :

    1,2,3,4

    I used this syntax:

    =CONCATENATE(A1,",",A2,",",A3,",",A4)

    Questions:

    Is there a better way to create a short program to do this? assuming my data is 1 to 500

    Thanks

  2. #2
    Anne Troy
    Guest

    Re: Concatenate

    If you want my opinion, I would save the file as text. Then I would open it
    in Word.
    Ctrl+H.
    In the Find what, type ^p
    In the Replace with, type a comma
    Replace all.
    But you should also know a "quickie" concatenation method is (no need for
    that long word nobody remembers how to spell):
    =A1&A2&A3&A4....

    ************
    Hope it helps!
    Anne Troy
    www.OfficeArticles.com
    Check out the NEWsgroup stats!
    Check out: www.ExcelUserConference.com

    "tbobo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > col1 col2
    >
    > 1 1,2,3,4
    > 2
    > 3
    > 4
    >
    > I have data in col1 and I want to transfer the data into col2 with this
    > lay out :
    >
    > 1,2,3,4
    >
    > I used this syntax:
    >
    > =CONCATENATE(A1,",",A2,",",A3,",",A4)
    >
    > Questions:
    >
    > Is there a better way to create a short program to do this? assuming
    > my data is 1 to 500
    >
    > Thanks
    >
    >
    > --
    > tbobo
    > ------------------------------------------------------------------------
    > tbobo's Profile:
    > http://www.excelforum.com/member.php...o&userid=31530
    > View this thread: http://www.excelforum.com/showthread...hreadid=512511
    >




  3. #3
    Barb Reinhardt
    Guest

    Re: Concatenate

    I've also done this:

    A1: 1
    A2: 2 B2: =A1&","&A2
    A3: 3 B3 = B2&","&A3 (copy this down)
    A4: 4 B4 = B3&","&A4 (and so on)

    "tbobo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > col1 col2
    >
    > 1 1,2,3,4
    > 2
    > 3
    > 4
    >
    > I have data in col1 and I want to transfer the data into col2 with this
    > lay out :
    >
    > 1,2,3,4
    >
    > I used this syntax:
    >
    > =CONCATENATE(A1,",",A2,",",A3,",",A4)
    >
    > Questions:
    >
    > Is there a better way to create a short program to do this? assuming
    > my data is 1 to 500
    >
    > Thanks
    >
    >
    > --
    > tbobo
    > ------------------------------------------------------------------------
    > tbobo's Profile:
    > http://www.excelforum.com/member.php...o&userid=31530
    > View this thread: http://www.excelforum.com/showthread...hreadid=512511
    >




  4. #4
    Registered User
    Join Date
    02-14-2006
    Posts
    24
    Troy! thanks! it works for me!

  5. #5
    Anne Troy
    Guest

    Re: Concatenate

    You're welcome!
    So glad I could help.
    ************
    Anne Troy
    www.OfficeArticles.com
    Check out the NEWsgroup stats!
    Check out: www.ExcelUserConference.com

    "tbobo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Troy! thanks! it works for me!
    >
    >
    > --
    > tbobo
    > ------------------------------------------------------------------------
    > tbobo's Profile:
    > http://www.excelforum.com/member.php...o&userid=31530
    > View this thread: http://www.excelforum.com/showthread...hreadid=512511
    >




+ 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