+ Reply to Thread
Results 1 to 14 of 14

Split Description into 3 Columns

  1. #1
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Split Description into 3 Columns

    Hi,

    I need help to split text (shown below) into 3 columns, now all text is in one cell.

    e.g.,

    HIPP 1 PLUS PROBIOTIK 600 G MILCHNAHRUNG PULVER 1607000286

    I have over 30,000 rows of data which contains different number of spaces within a cell. Please see attached file.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Akron, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    208

    re: Split Description into 3 Columns

    Have you tried "Text To Columns" function? I was able to split your example worksheet using it.

  3. #3
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    re: Split Description into 3 Columns

    Depending on how you implement jrdnoland's suggestion, you might have to concatenate a few of the columns to get your desired results. Could you please supply a few examples of the results you'd like so we know where to split the data? It's very likely we can do it with formulas or possibly a couple quick Find and Replaces (if this only has to be done once) and save you the extra steps of separating into columns and then rejoining.

  4. #4
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    re: Split Description into 3 Columns

    Thank you for your reply.

    I have used "Text to Column" for part of the file, but not very successful.
    I need to do this monthly so a time-saving method is needed.

    I'm attaching the exmple file for you, so you'll know better how I would like to split the text.

    Thanks again.
    Attached Files Attached Files

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

    re: Split Description into 3 Columns

    try find /replace
    for find in find window
    hit space bar 4 times
    replace ^
    text to columns
    delimited
    other ^
    check treat succesive delimiters as on click finish
    then come back and say what you need done next
    "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

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

    re: Split Description into 3 Columns

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    I'll edit this time!
    Hope that helps.

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

    Free DataBaseForm example

  7. #7
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: Split Description into 3 Columns

    Hi martindwilson,

    I've tried what you suggested, but didn't really work. Don't know if I've misunderstood what you mean. I'm attaching both files for you.

    Thanks for your help.
    Attached Files Attached Files

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

    Re: Split Description into 3 Columns

    attached is the results of first attempt is this on the right track?
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: Split Description into 3 Columns

    Hi martindwilson,

    I don't think this is exactly what I want.

    I want to split a group of words in a cell with spaces in between some of the words. There are over 30000 rows of data in this file with different numbers of spaces among words.

    e.g. col 1 = description col 2 = brand col 3 = sku # or PC #

    Hope this is much clear about what I'm looking for.

    Thanks for your help.

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

    Re: Split Description into 3 Columns

    i would help if yo give some examples of what it should look like but id start by getting all those that have a price together looks like cigarettes only and deal with those seperately then those that dont. use =ISNUMBER(FIND(CHAR(254),A1)) drag down
    and sort all the true will go together

  11. #11
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: Split Description into 3 Columns

    Hi martindwilson,

    Please see my attached file. I want to split Col A into Col B, Col C and may be Col D if there are numbers or PC #s.

    Hope this explains better of what I hope to see.

    Thank you.
    Attached Files Attached Files

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

    Re: Split Description into 3 Columns

    there are too many variables to do this as nOthing seperates or distinguishes for example
    E 60 G 3 TELL BTL TROCKENSUPPEN you cant tel where it should split.
    but you have some strange spacing isuggesting this is imported from somewhere thats in the correct format?

  13. #13
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: Split Description into 3 Columns

    Yes, this is imported from some other software from other country. I have no idea what software they use.

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

    Re: Split Description into 3 Columns

    perhaps if you could find the original format it may be possible to import to excel directly

+ 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