TOP

TableToDict function

YLC Utilities logo

TABLETODICT() Description

The TABLETODICT() function converts values from the table LO Calc to the data type "dictionary" (dictionary) in Python or PHP format.


Main Features Functions TABLETODICT

Syntax:

=TABLETODICT(Range; [Format])

Parameters:

Example Usage

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)

Example 1

TABLETODICT formula usage

This example uses the following values:

Example 2

TABLETODICT formula usage

This example uses the following values:

Download the extension

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.