Skip to content
Sheetwrite

@sheetwrite/formulas

formulasToXlsxfunction

Report a problem

On this page

The formulas in XLSX spelling, such as =_xlfn.CONCAT(A1, B1) for =CONCAT(A1, B1), in input order. It calls convertXlsxFormulas once for the whole list; only the changed formulas come back from WASM.

Declaration

function formulasToXlsx(
engine: Pick<typeof WasmExports, "convertXlsxFormulas">,
formulas: readonly string[],
): string[]

Parameters

engine: Pick<typeof WasmExports, "convertXlsxFormulas">required

The loaded package, or an engine from createEngine.

formulas: readonly string[]required

The formulas in editor spelling.

Returns

string[]

One formula for each input; an unchanged formula is the input string.

See also