Interface ExcelFormulaCellIf

A cell of an Excel matrix with a formula (<f>) and its calculated value (<v>, shown until Excel recalculates). Understood by ExcelService; TableApi.downloadExcel writes them for cell formulas with { cellFormulas: true }.

Example

await new ExcelService().downloadExcel([[2, 3, { formula: "A1*B1", value: 6 }]], "sheet.xlsx");

Since

1.1.99

Hierarchy

  • ExcelFormulaCellIf

Properties

Properties

formula: string

The formula without =, with Excel's function names ("SUM(D2:D4)", "_xlfn.XLOOKUP(…)").

value: unknown

The calculated value: a number, text, boolean, Date or an error value.