Skip to content

Formulas are not being evaluated #43

Closed
@chrisspen

Description

@chrisspen

If you use save_data to write a cell starting with "=", it renders the raw text of the formula and does not evaluate the formula's logic.

>>> from pyexcel_ods import save_data
>>> from collections import OrderedDict
>>> data = OrderedDict()
>>> data.update({"Sheet 1": [
...     ['A', 'B', 'C']] + \
...     [[1, 2, '=A2+B2']]
... })
>>> 
>>> save_data('test.ods', data)

Screenshot from 2022-10-29 21-22-51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions