FormulaEngineer — A Highly Accurate Excel Formula Engine with support for 430+ Excel functions — explore the complete list NEW3.0.1

FormulaEngineer examples

Create, read, and style Excel workbooks in .NET.

Style workbooks as you write them — fonts, fills, borders, number formats, alignment, and layout — using ExcelStyledWriter. Every example below is a complete, runnable snippet.

Group
Example
10 examples in Tables and notes

Note added after streaming rows

EnableComments

Adds a note to a cell whose row has already been written and flushed — notes are collected separately and emitted on close, so annotating does not force the sheet to be buffered.

Write.cs
using FormulaEngineer.Api;
using FormulaEngineer.Api.Styling;

var stylingOptions =
    new ExcelStylingOptions
    {
        EnableComments = true
    };

using (var writer = new ExcelStyledWriter("note-after-streamed-rows.xlsx", null, stylingOptions))
{
    using (var sheet = writer.CreateWorksheet("Review"))
    {
        sheet.WriteRow("Item", "Status");
        sheet.WriteRow("Formula validation", "Passed");
        sheet.WriteRow("Workbook generation", "Passed");
        sheet.WriteRow("Manual review", "Pending");

        sheet.AddNote(
            "B4",
            ExcelNote.Create(
                "Reviewer should confirm final numbers before sending.",
                "Asha"));
    }

    writer.Close();
}

Style your own workbooks

Styling is part of the same package — no separate install, no Excel, no COM automation.