SharpCell 0.3.0
See the version list below for details.
dotnet add package SharpCell --version 0.3.0
NuGet\Install-Package SharpCell -Version 0.3.0
<PackageReference Include="SharpCell" Version="0.3.0" />
<PackageVersion Include="SharpCell" Version="0.3.0" />
<PackageReference Include="SharpCell" />
paket add SharpCell --version 0.3.0
#r "nuget: SharpCell, 0.3.0"
#:package SharpCell@0.3.0
#addin nuget:?package=SharpCell&version=0.3.0
#tool nuget:?package=SharpCell&version=0.3.0
SharpCell
A free (MIT) Excel formula engine for .NET 8 and later: it reads .xlsx files, recalculates them and evaluates formulas, including dynamic arrays and LET/LAMBDA. Results are checked against workbooks calculated by Microsoft Excel.
| Package | What it does |
|---|---|
SharpCell |
The engine: parser, values, recalculation and functions. No dependencies. |
SharpCell.Xlsx |
Reads .xlsx files into a SharpCell workbook. Brings SharpCell with it. |
Read and recalculate a workbook
using SharpCell;
using SharpCell.Xlsx;
// Read the workbook: sheets, values, formulas and any results Excel saved with them.
Workbook workbook = XlsxReader.Load(path);
Worksheet budget = workbook["Budget"];
// Calculate every formula now instead of relying on saved results.
workbook.Recalculate();
Build a workbook in code
var workbook = new Workbook();
Worksheet sheet = workbook.AddSheet("Sheet1");
sheet["A1"].Value = 2;
sheet["A2"].Formula = "=A1*3";
workbook.Recalculate();
CellValue result = sheet["A2"].Value; // 6
Evaluate a formula without a cell
CellValue sum = workbook.Evaluate("=SUM(1, 2, 3)"); // 6, no sheet needed
Values update only on Recalculate. Excel errors such as #DIV/0! are values, not exceptions. A Workbook is not thread-safe; use one per thread.
Links
- Documentation
- What matches Excel, function by function
- What SharpCell does not do
- For AI coding agents
- Source and issues
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SharpCell:
| Package | Downloads |
|---|---|
|
SharpCell.Xlsx
Reads .xlsx files into SharpCell workbooks (values, formulas, saved results, names, tables) and saves recalculated values back into them. |
|
|
SharpCell.Grid
Excel-like spreadsheet grid for SharpCell workbooks, independent of any UI framework: row and column geometry, hit testing, visible cells and painting through a small canvas interface. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.11.0 | 154 | 10/15/2026 |
| 0.10.0 | 143 | 10/11/2026 |
| 0.9.0 | 113 | 10/11/2026 |
| 0.8.2 | 195 | 10/10/2026 |
| 0.8.1 | 112 | 10/10/2026 |
| 0.8.0 | 113 | 10/10/2026 |
| 0.7.0 | 102 | 10/10/2026 |
| 0.6.0 | 212 | 10/10/2026 |
| 0.5.0 | 109 | 10/10/2026 |
| 0.4.1 | 106 | 10/10/2026 |
| 0.4.0 | 104 | 10/10/2026 |
| 0.3.0 | 100 | 10/10/2026 |
| 0.2.1 | 104 | 10/9/2026 |
| 0.2.0 | 96 | 10/9/2026 |
| 0.1.0 | 103 | 10/9/2026 |