+ Reply to Thread
Results 1 to 3 of 3

Comma Delimited - But not all commas to be delimited.

  1. #1
    Registered User
    Join Date
    06-09-2016
    Location
    England
    MS-Off Ver
    2013
    Posts
    3

    Comma Delimited - But not all commas to be delimited.

    I have an issue where I need to do a comma delimited in Excel, however I do not want all the commas to be copied over.

    For example, the data I have I want to fit into 5 columns, however in a name there could be a extra comma which increases my lines further than I want. Sporting this out one by one is taking a long time as we have loads of data to filter through.

    Example.

    Place, Name, Colour, Type, Amount

    London, George, Smith, Green, Sparrow, £20
    Bradford, Rebecca Smith, Red, hawk, £55
    Leeds, Cuthbert, Morris, Blue, Sparrow, £25


    I would need something to do a comma delimited, but any extra commas that do not fit it into the 5 columns need to be combined to the name column.

    Is there some wizardry that could help me out here, it would be greatly appreciated.

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,910

    Re: Comma Delimited - But not all commas to be delimited.

    You can read your file line by line, and decide based on how many elements there are:


    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Comma Delimited - But not all commas to be delimited.

    Or try this (I suppose your data in column A from A3 and the extra comma is only for name)
    Column B from B3 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Column C is a copy values of column B
    In column C uses date to columns (comma separator)
    See the file with your example
    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)

Similar Threads

  1. Comma Delimited
    By Oshie in forum Excel General
    Replies: 1
    Last Post: 06-08-2016, 06:40 AM
  2. Comma delimited numbers with space after comma
    By Cicada in forum Excel General
    Replies: 5
    Last Post: 04-23-2015, 09:32 AM
  3. [SOLVED] Pipe delimited vs comma delimited problem
    By theletterh in forum Excel General
    Replies: 4
    Last Post: 01-23-2013, 07:27 PM
  4. Read Tab delimited file breaks at commas
    By patrikquick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2011, 07:05 AM
  5. Comma Delimited .txt file
    By wshiwsbrding in forum Excel General
    Replies: 4
    Last Post: 03-25-2008, 10:23 PM
  6. [SOLVED] tab delimited and commas
    By sedonovan in forum Excel General
    Replies: 0
    Last Post: 07-31-2006, 09:38 AM
  7. How do I import a pipe delimited file with text that contains a few commas?
    By john928 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2005, 09:53 PM

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