+ Reply to Thread
Results 1 to 5 of 5

Separating Data of 1 cell into multiple columns

  1. #1
    Registered User
    Join Date
    09-12-2008
    Location
    Texas
    Posts
    8

    Separating Data of 1 cell into multiple columns

    Hello all,

    I am somewhat familiar with writing macros, but I haven't needed to write one in a little over a year. I have a spreadsheet where the data is all in one cell, but spaced out on different lines within the cell. I need to take the data from one cell and separate them into different columns. I know how to use the "text to column" and "concatenate" functions but I am not sure if they apply here. Please see the attached sample spreadsheet. I simply cut and paste the samples, but I have over 200 cells with similar data. I open to all suggestions and resolutions with macro or without macro (preferred). Thank you very much for your assistance.

    James
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Separating Data of 1 cell into multiple columns

    Wht are you splitting & what determines the split?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    09-12-2008
    Location
    Texas
    Posts
    8

    Re: Separating Data of 1 cell into multiple columns

    The statements are individual features of different products that need to be broken into bulleted lists.

    I am not sure what specifically determines the break except for multiple spaces between statements vs the line being moved to a lower line, within the cell, from the sentence description being too long.

    Thanks for taking a look at it.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Separating Data of 1 cell into multiple columns

    Where is the data coming from, because I don't think Excel is recognising line breaks in the text

  5. #5
    Registered User
    Join Date
    09-12-2008
    Location
    Texas
    Posts
    8

    Re: Separating Data of 1 cell into multiple columns

    Thank you for your assistance. I was able to request another spreadsheet with commas within the cell. So I am glad on both ends, one that I didn't have to figure out how to separate the old cells and two that I didn't have to figure out how to separate the old cells. Thanks again for help!

    James

+ 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