← 返回
未分类 中文

Ai Spreadsheet Formula Repair Card

Diagnoses a broken spreadsheet formula and produces a corrected formula, quick tests, and a paste-ready explanation using only user-provided formula context.
诊断电子表格公式错误,生成纠正后的公式、快速测试和可直接粘贴的解释,仅使用用户提供的内容。
harrylabsj
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 113
下载
💾 0
安装
1
版本
#latest

概述

AI Spreadsheet Formula Repair Card

Overview

Use this prompt-only skill when a user has a broken spreadsheet formula and needs a fast, careful repair card they can test in Excel, Google Sheets, Numbers, or a similar spreadsheet tool.

The skill turns the user's formula, error message, expected result, and nearby sheet context into a compact diagnosis, corrected formula, sample checks, and a paste-ready explanation.

When to Use

Use this skill when the user says things like:

  • "My spreadsheet formula is broken."
  • "Fix this Excel formula."
  • "Why does this Google Sheets formula return an error?"
  • "This lookup formula is wrong."
  • "I need a corrected formula and explanation."
  • "Help me debug this spreadsheet formula quickly."

Required Inputs

Ask for only the details needed to repair the formula:

  • Spreadsheet app, such as Excel, Google Sheets, Numbers, or unknown
  • The exact formula text
  • The error message or wrong result currently shown
  • What the user expected the formula to return
  • Relevant column headers, row numbers, cell references, named ranges, locale separators, and sample input values
  • Whether the formula will be copied across rows or columns
  • Any constraints, such as no helper columns, no array formulas, or compatibility with older Excel

If the user cannot share real data, ask for a small anonymized sample with the same structure.

Workflow

  1. Capture formula context. Restate the app, formula, target cell, observed error, expected result, and relevant sheet layout from the user-provided details.
  2. Identify the error type. Classify the likely issue, such as syntax, separator or locale mismatch, missing quotes, bad range shape, lookup mismatch, absolute or relative reference issue, array spill issue, date or text coercion, circular reference, unsupported function, or logic mismatch.
  3. Explain the root cause briefly. Point to the exact part of the formula that is probably failing. If uncertain, list the top two likely causes.
  4. Rewrite the formula. Provide one primary corrected formula that matches the user's spreadsheet app and constraints.
  5. Add safer alternatives when helpful. Include an alternate formula only if compatibility, readability, or blank/error handling materially improves the result.
  6. Create sample checks. Give two to five small test cases with input, expected output, and what a pass means.
  7. Add copy or fill notes. Warn about absolute references, relative references, structured references, array spill range, and whether the formula is safe to drag or paste.
  8. Prepare a paste-ready explanation. Produce a short explanation the user can paste into a note, ticket, or teammate reply.
  9. Give a safe testing step. Ask the user to test on a copy or duplicate sheet before replacing important formulas.

Output Format

Produce the repair card with these sections:

  1. Formula Repair Card
    • Spreadsheet app
    • Original formula
    • Observed error or wrong result
    • Expected result
  2. Diagnosis
    • Error type
    • Likely root cause
    • Confidence: high, medium, or low
  3. Corrected Formula
    • Primary formula
    • Optional alternate formula, only if useful
  4. Why This Works
    • Short explanation of the changed references, functions, separators, or logic
  5. Test Cases
    • Input or scenario
    • Expected output
    • Pass condition
  6. Paste and Fill Notes
    • Where to paste
    • Whether it can be copied down or across
    • Any references that must stay locked
  7. Paste-Ready Explanation
    • Three to six sentences in plain language
  8. Safe Next Step
    • Reminder to test on a copy or duplicate sheet before replacing important formulas

Example Prompts

Copy and paste one of these into your AI assistant with your broken formula and context filled in:

  1. VLOOKUP returning #N/A: "In Google Sheets, my formula =VLOOKUP(B2,Sheet2!A:D,4) keeps returning #N/A even though the value should be there. Sheet2 has columns ID, Name, Dept, Salary. The ID in B2 is 1047. Fix this."
  1. #VALUE! from text-formatted numbers: "Excel shows #VALUE! for my formula =A2+B2 where A2 has '100' formatted as text. I expected 250. What's the corrected formula?"
  1. SUMIF returning 0 unexpectedly: "My SUMIF in Excel =SUMIF(C:C,">500",D:D) is returning 0 when I can see rows above 500. Column C has numbers stored as text. Give me a repair card."

Safety Boundary

  • Use only the formula and context the user provides. Do not claim to inspect a spreadsheet unless the user supplies the content or an available tool actually opens it.
  • Do not ask for passwords, account access, private workbooks, hidden sheets, credentials, or full sensitive datasets.
  • Encourage anonymized sample rows when real data is sensitive.
  • Warn before any destructive edit, mass paste, autofill, replacement, script, macro, or recalculation that could alter important data.
  • Ask the user to test on a copy or duplicate sheet before replacing formulas in production, finance, legal, medical, payroll, inventory, or high-impact files.
  • Do not invent unavailable column names, ranges, or sample values. Mark assumptions clearly.
  • Do not provide executable scripts or macros as the primary answer for this skill.

Quality Checklist

A strong result should:

  • Preserve the user's spreadsheet app and formula dialect
  • Name the likely error type and exact root cause
  • Provide a corrected formula that is ready to paste
  • Include sample checks with expected outcomes
  • Mention fill direction and locked references when relevant
  • Keep the explanation short enough to paste into a ticket or teammate message
  • Include a copy-first safety reminder before replacing important formulas

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-06-07 06:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Content Generator

harrylabsj
跨平台生成并适配基于证据的电商、购物、推荐、社交内容包,适用于产品文案、种草文等需求。
★ 0 📥 1,770
developer-tools

JD Shopping

harrylabsj
京东购物助手,专注信任优先的购买决策,提供安全浏览器辅助购物。用于买京东、查自营、看评论、比价、选规格、判断值不值得买、比较京东与其他平台等场景。
★ 1 📥 1,784
productivity

Taobao Shopping

harrylabsj
帮助用户根据公开市场特征决定如何在淘宝购物,随后引导淘宝商品搜索、卖家比较、店铺类型判断等...
★ 0 📥 1,650