Spreadsheet calculation

Formula Engine

Give grid cells relationships, functions, and repeatable recalculation.

Explore source
Parent systemProDataGrid
StatusActive
Modules2
RepositoryProDataGrid/ProDataGrid.FormulaEngine

A calculation layer for parsed expressions, cell references, dependency tracking, functions, recalculation, and Excel-oriented interoperability.

  1. 01

    Parsed formulas and functions

  2. 02

    Cell and range references

  3. 03

    Dependency-driven recalculation

  4. 04

    Excel compatibility package

From intent
to working system.

01

Parse

Formula text becomes a typed expression tree.

02

Resolve

Names, cells, ranges, and functions bind against a workbook context.

03

Calculate

Dependencies determine evaluation order and invalidation.

04

Present

Grid integrations expose values, errors, and formula editing.

Adopt this
capability.

Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.

01 · Install
Terminal
dotnet add package ProDataGrid.FormulaEngine
02 · Use · csharp
QuickStart.cs
var workbook = new FormulaWorkbook();
workbook.SetValue("A1", 40m);
workbook.SetValue("A2", 2m);
workbook.SetFormula("A3", "=SUM(A1:A2)");
var total = workbook.GetValue("A3");

Use one layer.
Compose the rest.

Read the module beside the complete system.

The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.

ProDataGrid

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…