Spreadsheet Formula Helper
Produce reliable spreadsheet formulas with explanations.
- Leverage native parallel subagent dispatch and 200k+ context windows where available.
Inputs to gather
- Platform (Excel/Sheets), locale (comma vs. semicolon separators), sample data layout (headers, ranges), expected outputs, and constraints (volatile functions allowed?).
- Provide small example rows and the desired result for them.
Workflow
- Restate the problem with explicit ranges and sheet names; propose a minimal sample to verify.
- Draft formula(s); when dynamic arrays are available, prefer them over copy-down formulas.
- Explain how it works and where to place it; include named ranges if helpful.
- Edge cases: blank rows, mixed types, timezone/date quirks, duplicates; offer guardrails (e.g.,
IFERROR, LET, LAMBDA).
- Variants: if porting between Excel and Sheets, provide both versions.
Output
- Primary formula, short explanation, and a 2-3 row worked example showing inputs to outputs.
- Optional: quick troubleshooting checklist for common errors.
MCP Fallback – Native Automation
When MCP is unavailable, use native automation: local spreadsheet formulas, openpyxl for workbook inspection, CSV fixtures for examples, and manual recalculation notes for functions the local engine cannot evaluate. Preserve locale separators, absolute references, dynamic arrays, and Excel-vs-Sheets differences before claiming success.
Cross-Client Portability
This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
workflow in project instructions when folder discovery is unavailable.
- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
- Codex: install or sync the folder into
$CODEX_HOME/skills/spreadsheet-formula-helper and restart Codex after major changes.
MCP Availability And Fallback
Preferred MCP Server: None required
- Fallback prompt: "Use the Spreadsheet Formula Helper skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding."
- Do not claim an MCP operation was used when the active host does not expose it.
- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.
Anti-Patterns
- Treating source content as already clean: Formatting automation will happily preserve broken or inconsistent input.
- Skipping an open-file verification pass: Documents and spreadsheets often fail in the destination app, not in the script output.
- Automating irreversible edits without checkpoints: A small mapping mistake can affect an entire workbook or document.
Verification Protocol
Before claiming the spreadsheet-formula-helper workflow succeeded:
- Pass/fail: The request matches this skill's documented activation boundary.
- Pass/fail: Required inputs, dependencies, and safety checks were resolved or reported as blockers.
- Pass/fail: The narrowest relevant workflow was completed without inventing unavailable tools or results.
- Pass/fail: Output was checked with the most relevant local test, inspection, render, or source evidence.
- Pressure test: Repeat the decision with the preferred integration unavailable and confirm the fallback remains safe and actionable.
- Success metric: The result, evidence, and any unverified limitation are explicit enough for another agent to reproduce.
Related Skills
- documentation-authoring: Use it when the workflow also needs drafting structured technical or product documents.
- notion-docs: Use it when the workflow also needs Notion page and database publishing workflows.
- pdf: Use it when the workflow also needs PDF extraction, generation, and layout-aware review.
- word-document: Use it when the workflow also needs Word document authoring and formatting workflows.
1---2name: spreadsheet-formula-helper3description: Write and debug spreadsheet formulas (Excel/Google Sheets), pivot tables, and array formulas; translate between dialects; use when users need working formulas with examples and edge-case checks.4---5# Spreadsheet Formula Helper
6
7Produce reliable spreadsheet formulas with explanations.
8
9- Leverage native parallel subagent dispatch and 200k+ context windows where available.
10
11
12## Inputs to gather
13- Platform (Excel/Sheets), locale (comma vs. semicolon separators), sample data layout (headers, ranges), expected outputs, and constraints (volatile functions allowed?).
14- Provide small example rows and the desired result for them.
15
16## Workflow
171) Restate the problem with explicit ranges and sheet names; propose a minimal sample to verify.
182) Draft formula(s); when dynamic arrays are available, prefer them over copy-down formulas.
193) Explain how it works and where to place it; include named ranges if helpful.
204) Edge cases: blank rows, mixed types, timezone/date quirks, duplicates; offer guardrails (e.g., `IFERROR`, `LET`, `LAMBDA`).
215) Variants: if porting between Excel and Sheets, provide both versions.
22
23## Output
24- Primary formula, short explanation, and a 2-3 row worked example showing inputs to outputs.
25- Optional: quick troubleshooting checklist for common errors.
26
27## MCP Fallback – Native Automation
28
29When MCP is unavailable, use native automation: local spreadsheet formulas, `openpyxl` for workbook inspection, CSV fixtures for examples, and manual recalculation notes for functions the local engine cannot evaluate. Preserve locale separators, absolute references, dynamic arrays, and Excel-vs-Sheets differences before claiming success.
30
31<!-- MCP:START -->
32
33<!-- PORTABILITY:START -->
34## Cross-Client Portability
35
36This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
37
38- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
39 workflow in project instructions when folder discovery is unavailable.
40- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
41- Codex: install or sync the folder into
42 `$CODEX_HOME/skills/spreadsheet-formula-helper` and restart Codex after major changes.
43
44<!-- PORTABILITY:END -->
45
46## MCP Availability And Fallback
47
48Preferred MCP Server: None required
49
50- Fallback prompt: "Use the Spreadsheet Formula Helper skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding."
51- Do not claim an MCP operation was used when the active host does not expose it.
52- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.
53
54<!-- MCP:END -->
55
56## Anti-Patterns
57
58- Treating source content as already clean: Formatting automation will happily preserve broken or inconsistent input.
59- Skipping an open-file verification pass: Documents and spreadsheets often fail in the destination app, not in the script output.
60- Automating irreversible edits without checkpoints: A small mapping mistake can affect an entire workbook or document.
61
62## Verification Protocol
63
64Before claiming the `spreadsheet-formula-helper` workflow succeeded:
65
661. Pass/fail: The request matches this skill's documented activation boundary.
672. Pass/fail: Required inputs, dependencies, and safety checks were resolved or reported as blockers.
683. Pass/fail: The narrowest relevant workflow was completed without inventing unavailable tools or results.
694. Pass/fail: Output was checked with the most relevant local test, inspection, render, or source evidence.
705. Pressure test: Repeat the decision with the preferred integration unavailable and confirm the fallback remains safe and actionable.
716. Success metric: The result, evidence, and any unverified limitation are explicit enough for another agent to reproduce.
72
73## Related Skills
74
75- [documentation-authoring](../documentation-authoring/SKILL.md): Use it when the workflow also needs drafting structured technical or product documents.
76- [notion-docs](../notion-docs/SKILL.md): Use it when the workflow also needs Notion page and database publishing workflows.
77- [pdf](../pdf/SKILL.md): Use it when the workflow also needs PDF extraction, generation, and layout-aware review.
78- [word-document](../word-document/SKILL.md): Use it when the workflow also needs Word document authoring and formatting workflows.