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