+ Reply to Thread
Results 1 to 5 of 5

Splitting a column in CSV to multiple columns

  1. #1
    Registered User
    Join Date
    07-04-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Splitting a column in CSV to multiple columns

    Hi,

    We have a CSV thats an export from a database, the database handles addition form fields as 'extended fields' and lumps them all into 1 cell on export.

    We need to split this cell into multiple cells to help our customer as its no use as it remains.

    Im a total newbie to the functions of Excel other than the basic sums and formulas and need a Macro or something to help split the field.

    The construction of the cell data is as follows:

    {"surname":"Smith","product":"Product Name","newsletter":"Yes"}

    and needs splitting into the columns of 'Surname' Product and Newsletter

    Thanks for your help.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Splitting a column in CSV to multiple columns

    Do you have a sample file that you can upload?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    07-04-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Splitting a column in CSV to multiple columns

    I thought i had

    attached - it will nees the .xls removing.

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Splitting a column in CSV to multiple columns

    Can you post a sample output file showing how the output should look like?

  5. #5
    Registered User
    Join Date
    07-04-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Splitting a column in CSV to multiple columns

    That might help

    Please see attached.
    Attached Files Attached Files

+ 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