I have about 20 cvs files of the same format I want to combine into one sequential file. Is there a smart way to do this.
thanks Tim
I have about 20 cvs files of the same format I want to combine into one sequential file. Is there a smart way to do this.
thanks Tim
It might depend on where your CSV files originated and whether you want them to form a continuous record or not. Most of my CSV files come from an automated electronic data monitor with a complete set of headers on each one. To make a contnuous, sequential record of them, I edit each one in a text editor and then combine them in order. Then I open the combined text file with LO Calc and do my calculations, statistics, plot graphs, etc., saving it all as .ods file.
You can also copy and paste CSV files that have been opened by Calc into another Calc file to combine them. Giving due regard to formats of date/time, this can work quite well.
Your situation might require something else.
This depends…
…on what you accept as “smart”, and this in turn will depend
…on the question if you have to do it once and for all or again and again.
You can open each csv-file as a new sheet and then copy/paste the contents into one sheet sequentially.
You can automate the process based on user code.
You can write a little program in any programming language to read the csv-files line by line and to write the lines as one sequence into an intermediary file which you later can import into a spreadsheet.
You can …
You can not write more than 1 048 576 rows into one spreadsheet.