AI Agent Hub
Back to skills
Spreadsheet Formula Repair Card icon

Spreadsheet Formula Repair Card

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_15292d5a/yjkj-ai-spreadsheet-formula-repair-card into your AI assistant.

About this skill

Problem: scattered formula errors

When VLOOKUP returns #N/A, SUMIF returns 0, or =A2+B2 fails with #VALUE! because a number is stored as text, the missing piece is often not a function name but a verifiable repair basis. This skill turns app, formula, error, expected result, headers, row numbers, ranges, separators, and fill direction into a repair card.

Workflow: diagnose, then produce paste-ready output

It first confirms the spreadsheet dialect, such as Excel, Google Sheets, or Numbers. Then it classifies likely issues, including syntax, range shape, absolute or relative references, lookup mismatch, array spill, date or text coercion, and circular references. It points to the failing fragment, provides one primary corrected formula and an optional alternate when useful, adds two to five test cases with inputs, expected outputs, and pass conditions, and notes paste location, copy-down or copy-across safety, locked references, and a short explanation suitable for a ticket or teammate message.

Boundaries and cautions

It relies only on the formula and context supplied by the user and does not pretend to inspect the workbook unless content is provided. It should not request passwords, hidden sheets, credentials, or sensitive datasets; use anonymized sample rows when real data is sensitive. Unavailable column names, ranges, or sample values must be marked as assumptions. Executable scripts and macros are not the primary answer, and the user should test on a copy before replacing formulas in production, finance, legal, medical, payroll, inventory, or other high-impact files.

Use Cases

  • Excel VLOOKUP returns #N/A; identify lookup value, range, or reference issues and produce a paste-ready corrected formula.
  • Google Sheets formula fails due to separators, range shape, or references; provide dialect-correct repair and test cases.
  • Excel rollup formula misbehaves from text numbers, date coercion, or locked references; diagnose root cause and check fill direction.
  • Numbers formula breaks under array spill or helper-column constraints; output alternate formula, locked references, and paste-ready notes.

Best For

  • Accountants maintaining finance ledgers who need quick SUMIF or lookup repairs with a paste-ready ticket note.
  • Product analysts building weekly reports who need Google Sheets fixes that paste directly and copy down safely.
  • Data operations owners building shared reports who need formula debugging with anonymized sample rows only.
  • IT support specialists handling multi-platform spreadsheets who need Excel, Sheets, and Numbers dialect constraints.