---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/formulaevaluator
---

# FormulaEvaluator

## Overview

`FormulaEvaluator` is a class in Aspose.Cells FOSS for Python.

Basic formula evaluator for xlsx cells without cached values.

This class declares 2 methods for FormulaEvaluator objects in Python programs.
Available methods include: `__init__`, `evaluate`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(workbook)` | Initialize the formula evaluator. |
| `evaluate(formula: str, worksheet, cell_ref: str)` → `Optional[Any]` | Evaluate a formula and return the result. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)