The IMPORTCSV function allows loading data from a CSV file directly into LibreOffice Calc. It provides a simplified way to retrieve comma-separated data as a dynamic array with options to skip or select rows and apply locale parameters for regional formatting.
=IMPORTCSV(Path; [SkipRows]; [TakeRows]; [Locale])
The IMPORTCSV() function is extremely useful for automating external data processing. Simply specify the file path and selection parameters, and Excel (Calc) will automatically load the content:
=IMPORTCSV(Path; SkipRows; TakeRows; Locale)
We will have the following result:
In this example, the following values are used:
Corresponding data from the text file:
Simply enter the IMPORTCSV() function into any cell, specifying the appropriate parameters. After that, you need to press Ctrl+Shift+Enter to enter the array formula and LO Calc will automatically return a table with data.
To select all cells associated with the array formula, simply select any cell in the array and press Ctrl+/.
If you need to convert an array formula to values - select the entire array and in the menu
You can use the function IMPORTCSV() by installing the extension YLC Utilities.
After that, this function will be available in all files that will be opened in Excel (LibreOffice Calc).