+ Reply to Thread
Results 1 to 10 of 10

text to columns (vertically stacked)

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    text to columns (vertically stacked)

    Hi,

    Had a quick browse through the forums for an answer but as it is quite hard to describe i cant quite find the answer.

    Basically I need to split some cells but they have stacked text in them i.e

    Cell a1 shows:

    666666
    part 77777 x 20
    5x s452563

    Cell b1 shows:

    1x 254684564
    3x 4481211111 & 5 ea g8373

    etc.

    When i run the text to columns function i only get the first line of the data, i could ideally like to split the data by spaces and/ or line breaks.

    Any ideas?
    Last edited by JamesGale; 07-27-2009 at 04:32 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: text to columns (vertically stacked)

    Run text to columns, and in the Other box, press and hold the Alt key, and on the NUMERIC keypad, type 0010 (which is a line feed).
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: text to columns (vertically stacked)

    I am failing to get this to work.

    when i hold 'alt' and type '0010' nothing comes out and i get no result.

    what am i doing wrong?

  4. #4
    Registered User
    Join Date
    04-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: text to columns (vertically stacked)

    bump?...bump?

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: text to columns (vertically stacked)

    There's not much more to explain, James. Alt key, NUMERIC keypad. You won't see anything on the Other box, but you will a change in the Data preview window, assuming there are line feeds in your data.

  6. #6
    Registered User
    Join Date
    04-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: text to columns (vertically stacked)

    well i understand that but cannot get it to work. should this work in excel 2003?

    I have attached a sample cell, could you take a look please and just confirm that it can be done this way?
    Attached Files Attached Files

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: text to columns (vertically stacked)

    Your data also has carriage returns. In an adjacent column,

    =SUBSTITUTE(A1, CHAR(13), "")

    Then copy that column, replace with values, and proceed as previously described. We'd have gotten there in one step if you posted an example to begin with ...

  8. #8
    Registered User
    Join Date
    04-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: text to columns (vertically stacked)

    thank you very much. got it sorted now.

  9. #9
    Registered User
    Join Date
    06-28-2010
    Location
    Stuttgart, Gemany
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: text to columns (vertically stacked)

    Hi James, I do not live in the great state of Texas and I am not a forum guru but the easiest way I found to transpose text in excel 2003 and 2007 is .. the function transpose. See here:

    excel 2003 : http://www.techonthenet.com/excel/fo.../transpose.php
    excel 2007: http://office.microsoft.com/en-us/ex...010224502.aspx

    In excel 2007 there is - under paste special - the related funcion.
    Hope this helps further,
    Best regards,
    Donberti from good old Europe

  10. #10
    Forum Contributor
    Join Date
    07-27-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    141

    Re: text to columns (vertically stacked)

    To
    shg forum guru

    It is an excellent solution to spit cells with your alt and numeric key pad solution. can iknow, the similar keypad strokes for some of the keystrokes, which does not type but you get the results, like carriage returns and some more key strokes. It will be very useful.

    I know that I am continuing a old thread, but to acknowledge a best solution, I acknowledges and continue my query. What are the key strokes, that we can use in text to column in other, which permit only one key stroke, a small box in the delimiter.

+ 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