+ Reply to Thread
Results 1 to 4 of 4

Converting several columns containing lists of values into a single column

  1. #1
    Registered User
    Join Date
    11-02-2007
    Posts
    3

    Converting several columns containing lists of values into a single column

    Is it possible to automate this someow? I have many columns with lists of strings that I want to convert into a sequential list in a single column.

    Any help would be appreciated.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Converting several columns containing lists of values into a single column

    in a new column enter= a1&","&b1&","c1 etc replacing , with whatever your seperator is, then drag down

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Converting several columns containing lists of values into a single column

    Martin's idea is a good one if you're looking to convert like so:
    Please Login or Register  to view this content.
    But if you want this:
    Please Login or Register  to view this content.
    ...then this is formula you need in column D starting at D2:

    =SMALL($A$2:$C$4,ROW()-1)

    ...and copy that down. If you start at a different row, then you need to adjust the -1 at the end to get the first value properly. This works for organizing numbers.

    If you want this same thing but with text, my only guess is a quick macro to merge all the columns into a single column the way the formula above is doing for the numbers.

    Post your question in the Excel Programming forum if that is what you want. Be sure to include clear explanation of the data layout, including columns, starting ranges, what/where you want the final single column to be. You get the idea.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Converting several columns containing lists of values into a single column

    yep i re-read the post and it does say sequential into one column! so jb is correct

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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