+ Reply to Thread
Results 1 to 4 of 4

split details in a cell into different cells.

  1. #1
    Registered User
    Join Date
    08-17-2006
    Posts
    7

    split details in a cell into different cells.

    I have some data on a spreadsheet. An example follows.

    Mr John Smith, "1 Main Street", "london", "", "NW1 1AA", "UK", ""
    Mr David Jones, "1 High Road", "Cardiff", "", "C1 1AA", "UK", "W"
    Mr Ian Nesbit", "1 Hill Road", "Alexandria", "Dumbartonshire", "", "", "S"

    All the data is in cell A.

    Is there a way to split the data? As it is in ""'s and even where no data is available there are " " to show that some info is missing.

    Any help appreciated.

    I am using xlsx (Excel 2007)

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If your data is exactly as you show then you can do it in a few steps using Data|Text to Columns.

    1. Select Col A and go to Data|Text to columns
    2. Select Delimited and click Next
    3. Select comma and click Finish.

    4. Now select Column B and go to Data Text to columns
    5. Select Delimited and click Next
    6. Select Other and enter a double quote " and click Next
    7. Select the first column in the large white box and select "do not import (skip)"
    8. Repeat for the 3rd column.
    9. Click Finish

    10. Repeat 4-9 for other columns with "" in them
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-17-2006
    Posts
    7
    Thank you very much.

    Worked a treat.

    Great Help.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Great!

    You're welcome!

+ 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