CSV teksta datņu ar formulām importēšana un eksportēšana

Comma separated values (CSV) files are text files that contain the cell contents of a single sheet. Commas, semicolons, or other characters can be used as the field delimiters between the cells. Text strings are put in quotation marks, numbers are written without quotation marks.

Lai importētu CSV datni

  1. Izvēlieties Datne - Atvērt.

  2. In the File type field, select the format "Text CSV". Select the file and click Open. When a file has the .csv extension, the file type is automatically recognized.

  3. You will see the Text Import dialog. Click OK.

Padoma ikona

If the csv file contains formulas, but you want to import the results of those formulas, then choose - LibreOffice Calc - View and clear the Formulas check box.


Lai eksportētu formulas un vērtības kā CSV datnes

  1. Click the sheet to be written as a csv file.

  2. If you want to export the formulas as formulas, for example, in the form =SUM(A1:B5), proceed as follows:

    Izvēlieties - LibreOffice Calc - Skats.

    Under Display, mark the Formulas check box. Click OK.

    If you want to export the calculation results instead of the formulas, do not mark Formulas.

  3. Izvēlieties Datne - Saglabāt kā. Jūs redzēsiet Saglabāt kā dialogu.

  4. In the File type field select the format "Text CSV".

  5. Enter a name and click Save.

  6. From the Export of text files dialog that appears, select the character set and the field and text delimiters for the data to be exported, and confirm with OK.

  7. If necessary, after you have saved, clear the Formulas check box to see the calculated results in the table again.

- LibreOffice Calc - View

Eksportēt teksta datnes

Importēt teksta datnes