Forum Discussion

jbell61's avatar
jbell61
Copper Contributor
Jan 19, 2021
Solved

csv data separated by comma and space

Hello, I am trying to import csv text from the clipboard that is separated: fields by comma, and rows by space. Text import wizard does not appear to able to do this.  
  • davheili's avatar
    Jan 19, 2021

    jbell61 

    You are correct, Excel import wizard does not split a single line into multiple rows. So I see 2 possible options:

    1) Use a text editor like Notepad++ to edit the CSV file and do the line breaks at the spaces. Save. Then reopen the CSV file in Excel.
    2) if the file is a short file, you could import all the data into 1 cell. Then use Data / Text to Columns to split the data at the space character. That will create multiple columns where the data was split at the space. Then Copy all the data, Paste Special / Transpose will change the column data to Row data (but all data will still be in only 1 column. Finally select the column data - Data / Text to Columns again but this time delimited by comma.

Resources