The TABLETODICT() function converts values from the table LO Calc to the data type "dictionary"
=TABLETODICT(Range; [Format])
The TABLETODICT() function is easy to use. You just need to select a table and specify the desired dictionary format (1-Python or 2-PHP) and LibreOffice Calc will automatically return an array of values:
=TABLETODICT(Range; Format)
This example uses the following values:
This example uses the following values:
You can use the TABLETODICT() function by installing the extension "YLC_Utilities.oxt" .
After that, this function will be available in all files that will be opened in LibreOffice Calc.