+ Reply to Thread
Results 1 to 7 of 7

How to combine each word from column A with each word from col B

  1. #1
    Registered User
    Join Date
    01-10-2008
    Posts
    3

    Question How to combine each word from column A with each word from col B

    Hello, i have two columns of words, lets say col A with 10 words one under another and col B with 10 words one under another, I want to append* each word/row from col A to each word/row from column B resulting 100 words/columns.

    COL A COL B
    car | red
    truck | blue
    boat | white
    resulting:

    car red
    car blue
    car white

    truck red
    truck blue
    truck white

    boat red
    boat blue
    boat white
    Anyone knows the forumla for this? I hope I explained correctly.
    Thank you.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    =A1&" "&B1 copy down
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    01-10-2008
    Posts
    3
    Thanks oldchippy, it doesnt seem to work correctly, I might be entering the formula incorrectly. I do not use excell much.

    Do I select the 3rd column and type "=A1&" "&B1" in the Fx box then drag down the corner from the first row of 3rd column?

    It seems to simply merge A+B

    car red
    truck blue
    boat white

  4. #4
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    By formulas the attached may be what you want

    Does that help?

    Regards

    Dav
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-10-2008
    Posts
    3
    I did what I wanted with another software but I will still need this in future.

    // I made it in adobe flash I created 2 big arrays of words and then I combined them and printed on screen, then took them by copy/paste

    Dav, the file you attached has the strings associated correctly but how was it made? When I click a value it shows different formula for each one.
    Isn't there one fixed formula that combines all rows?

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Just adding to DAV's solution in one formula in D1 with space between

    =OFFSET(A$2,TRUNC((ROW(A1)-1)/10),0)&" "&OFFSET(B$2,MOD(ROW(B1)-1,10),0) then drag down the column

  7. #7
    Registered User
    Join Date
    12-14-2007
    Posts
    25
    =CONCATENATE(A1:A15," ",B1:B15)

    change the ranges A1:A15 , and B1:B15 to the columns containing your 2 different text fields.

+ 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