# Exceljs Formula Recalc

> Recalculate formula outputs for ExcelJS workbook flows in Node.js after agents or services edit cells.

- Skill: `proompteng/exceljs-formula-recalc` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add proompteng/exceljs-formula-recalc`
- Raw SKILL.md: https://api.skillmd.com/api/skills/proompteng/exceljs-formula-recalc/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: proompteng (https://skillmd.com/u/proompteng)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/proompteng/exceljs-formula-recalc

---


# ExcelJS Formula Recalculation

Use `exceljs-formula-recalc` when an agent or Node.js service already uses
ExcelJS and needs fresh formula output values after changing cells.

## First Check

```sh
npx --package exceljs-formula-recalc exceljs-recalc --demo --json
```

The demo should print `commandSucceeded: true`, `recalculationCompleted: true`,
`expectedValueMatched: true`, and a `Summary!B2` value of `72000`.

## Real Workbook

```sh
npx --package exceljs-formula-recalc exceljs-recalc workbook.xlsx \
  --set Inputs!B2=48 \
  --read Summary!B7 \
  --out workbook.recalculated.xlsx \
  --json
```

## TypeScript

```ts
import { recalculateExceljsWorkbook } from 'exceljs-formula-recalc'

const result = await recalculateExceljsWorkbook(workbook, {
  edits: [{ target: 'Inputs!B2', value: 48 }],
  reads: ['Summary!B7'],
})
```

Use `xlsx-formula-recalc` instead when the caller only has raw XLSX bytes and
does not need an ExcelJS workbook object.

