+ Reply to Thread
Results 1 to 4 of 4

Have 300 cells, want them in one, seperated by comma

  1. #1
    Registered User
    Join Date
    04-24-2008
    Posts
    85

    Have 300 cells, want them in one, seperated by comma

    Hey guys,
    I think this is a really easy question but I can't seem to think of an easy answer. I have 300 cells in one column I want to have combined into one cell, seperated by commas. I know I could just =A1&","&A2&","&... but this is not what I want to spend my afternoon doing. Is there a better way of doing this?

    Thanks in advance for your help!
    Adam
    Last edited by AdamParker; 08-04-2009 at 01:50 PM. Reason: Solved

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Have 300 cells, want them in one, seperated by comma

    If your data is in A1:A300, then in B1 put the formula

    =A1

    In B2 put the formula

    =B1&","&A2

    Fill that down to B300. In B300 you'll have your list of all values from A1:A300 separated by commas (up to the cell character limit, of course).

  3. #3
    Registered User
    Join Date
    04-24-2008
    Posts
    85

    Re: Have 300 cells, want them in one, seperated by comma

    Brilliant. Thank you!

  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: Have 300 cells, want them in one, seperated by comma

    ther are several variants of this but this will take selection an put it in b1
    change b1 to where you want it

    Please Login or Register  to view this content.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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