LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Converting delimited file to csv or excel file - column wise (https://www.linuxquestions.org/questions/linux-newbie-8/converting-delimited-file-to-csv-or-excel-file-column-wise-4175575114/)

Michael Uplawski 03-20-2016 12:03 PM

The OP has posted further above:
Quote:

Correct, the rows data has to be converted to column data
And just before that post, I had already stated, that Gnumeric imports the pipe-delimited file directly. I do not know about LibreOffice but SoftMaker PlanMaker can do it, too.

But.

That is not the OP's problem.

WayneB 03-20-2016 02:30 PM

The reason I chosen the quote-comma delimiter is because that was what I used to import a cvs file in ms excel back in the early 90's. Many cvs files were in that format at that time.

I believe the pipe delimiter can be used in a spreadsheet, so I tested it out.

I copied his original sample data from post 1 to a file called test.cvs with no modifications.

From libreoffice Calc, I opened the test.cvs and a text dialog box appears. From there you choose the options for dividing the data from the test.cvs file into columns by choosing the delimiter and text separator. Depending on the options you choose, you'll get to see a preview at the bottom on how the data will be divided in the columns.

Anyway, Long story short, it did work. So if libreoffice Calc can do it, MS excel can do it too.

OP just needs to know how to do it in MS Excel.

Vthimmap 03-22-2016 04:32 AM

Yeah.. Thanks you .
The command provided worked.....


All times are GMT -5. The time now is 02:19 AM.