+ Reply to Thread
Results 1 to 5 of 5

Concatenating with thousands of rows

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    Seattle, wa
    MS-Off Ver
    Excel 2007
    Posts
    11

    Concatenating with thousands of rows

    Hi,

    I apologize for the vague nature of the question, but I truly can't figure out a better way to word this. Here is what I need to do:

    I have thousands of rows similarly structured as below. They need to be concatenated like this:

    Joe Blow Daffy Duck Bugs Bunny Elmer Fudd 1122
    Daffy Duck Bugs Bunny Joe Blow Daisy Duck 6452

    With an end result of:

    Joe Blow 1122 Daffy Duck 1122 Bugs Bunny 1122 Elmer Fudd 1122 1122
    Daffy Duck 6452 Bugs Bunny 6452 Joe Blow 6452 Daisy Duck 6452 6452

    Please note that every name and number combination must remain it's own cell... which is the reason for my question. Does that make sense? Anyone have any ideas?


    Thanks!

    Ryan

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Concatenating with thousands of rows

    It would be easier to see what you are talking about if you posted it as an Excel Sheet (Go Advanced>Manage Attachments)
    Show your example and what you would like to see as a result.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-17-2013
    Location
    Seattle, wa
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Concatenating with thousands of rows

    Apologies!

    Here we go...Book1.xlsx

    I know there has to be a way to do this with multiple cells in the same row, but am just hitting a wall.


    Thanks for any help!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Concatenating with thousands of rows

    Easiest way is with VBA (alternate way involves formulas in other columns and pasting back over original. Let me know if you prefer that)

    Open a module
    ALT + F11
    Insert > Module
    and paste in this code (ranges are set for your example so try on that first)
    Please Login or Register  to view this content.
    Reset the ranges for your real sheet if it is working for you. Don't run it twice or you'll have the value from Col G in twice!

  5. #5
    Registered User
    Join Date
    12-17-2013
    Location
    Seattle, wa
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Concatenating with thousands of rows

    Reputation added. Thank thank you so much for the assist!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to delete thousands of rows of nothing below my data?
    By jeremiah89 in forum Excel General
    Replies: 13
    Last Post: 06-07-2013, 01:10 PM
  2. Concatenating Rows? Is this possible using IF?
    By beauxj26 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-15-2013, 05:07 PM
  3. Replies: 2
    Last Post: 04-28-2011, 07:55 PM
  4. Concatenating Several Rows
    By chome4 in forum Excel General
    Replies: 8
    Last Post: 07-13-2010, 05:13 AM
  5. Adding together thousands of sets without thousands of formulas!
    By Ratiocination in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-27-2008, 10:29 AM

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