Overview of xlcalculator
masterxlcalculator is a Python library designed to read MS Excel files and translate Excel functions into Python code for evaluation. This allows you to perform Excel-style calculations within a Python environment without requiring the Excel application itself.
Core Capabilities:
- Model Management: Loading and saving Python-compatible states of Excel files.
- Worksheet Control: Ability to ignore specific worksheets.
- Focusing: Extracting sub-portions of a model by focusing on specific cell addresses or defined names.
- Evaluation:
- Individual cells
- Defined Names (named cells or ranges)
- Ranges
- Shared formulas (operands:
+,-,/,*,==,<>,<=,>=on cells only) - Setting and getting cell values
- Parsing dictionaries into the Model object
Current Limitations:
- Does not support Array Formulas or CSE Formulas (only shared formulas).
- Specific functions like
EXPandDBare not yet supported. VLOOKUPonly supports exact matches.LNreturnsmath.log()(which differs from Excel'sLN).YEARFRACwithBasis 1orActual/actualis accurate only to 3 decimal places.