Excel 公式解读 Prompt:VLOOKUP / LAMBDA 模板

继承了一份 30 个嵌套公式的表?12 个 Prompt 模板把 Excel / Google Sheets 公式讲清楚、简化、留档。

糟糕的解读是”这个 VLOOKUP 查 Sheet2!A:B”。好的解读讲清业务逻辑、点出边界,并让同事能安全改公式。

适合哪些场景

接手别人表格的分析师、维护周期表的财务 / 运营、盯着 100 字符 LAMBDA 发呆的人。

什么时候不建议这样写 Prompt

一次性公式别用。公式本身就错的别用——先修后档。

Prompt 结构公式

每个 Prompt 都要带这六个要素:

  • 角色:AI 扮演谁——分析师、Chief of Staff、经理。
  • 上下文:团队 / 组织 / 项目 / 数据范围。
  • 目标:一个交付物——表格、文档、谈点、计划。
  • 限制:字数、必含字段、受众级别。
  • 语气:自信、中性、事实——看受众。
  • 示例:1-2 份过往作品锚定格式。

这套 Prompt 适合用在哪

  • 把新人带进复杂表
  • 交接前留档
  • 简化嵌套地狱
  • Excel ↔ Google Sheets 翻译
  • 把脆弱查找改成结构化表

12 个可直接复制的 Prompt 模板

1. 大白话解读

Explain this Excel formula: {formula}. Output: (1) one-sentence purpose, (2) step-by-step what each part does in plain English, (3) inputs / outputs / edge cases, (4) what breaks it.

可替换变量: formula 公式

2. 业务逻辑解读

For this formula in context `{context}`, explain the business logic it implements (not just the syntax). Output: 1-paragraph business intent + 1-paragraph mechanism.

可替换变量: formula, context

3. 简化候选

This nested formula: {formula} is hard to read. Propose 2 simplifications: (a) using helper cells, (b) using newer functions (LET / LAMBDA / IFS). For each: trade-off (clarity vs single-cell).

可替换变量: formula

4. VLOOKUP → XLOOKUP / INDEX-MATCH

Replace this VLOOKUP `{formula}` with XLOOKUP and INDEX-MATCH alternatives. Show all three side by side. Note which is best for: (1) future maintenance, (2) error handling, (3) speed.

可替换变量: formula

5. Excel ↔ Sheets 翻译

Translate this formula from {fromTool} to {toTool}: `{formula}`. Flag functions that don't exist or behave differently (e.g., ARRAYFORMULA, XLOOKUP availability). Output the translated formula + caveats.

可替换变量: formula, fromTool, toTool

6. LAMBDA 拆解

Decompose this LAMBDA: `{formula}` into named helper LAMBDAs (or LET). Output: refactored version with each piece named and 1-line comment. Aim for readability over brevity.

可替换变量: formula

7. 错误处理

Add error handling to this formula `{formula}`: wrap with IFERROR / IFNA where appropriate. Don't suppress all errors — keep #VALUE! / #REF! visible to surface real bugs.

可替换变量: formula

8. 易变函数审计

Audit these formulas for volatile functions (NOW, TODAY, RAND, INDIRECT, OFFSET) that slow workbooks. For each: alternative + when each is fine to keep.

9. 命名范围转换

This formula uses raw ranges (e.g., Sheet1!A2:A1000): {formula}. Convert to named ranges or structured Table references (Table1[Column]). Show the rewrite + how to define the names.

可替换变量: formula

10. 表格文档块

Generate a documentation block for this sheet: (1) Purpose, (2) Inputs (where data comes from), (3) Outputs (what people use), (4) Key formulas (with this prompt explanation) + cells, (5) Owner + last updated.

11. Power Query / Pivot 取舍

My current formula `{formula}` could be a Power Query or Pivot Table instead. Decide: (1) Stay as formula because…, (2) Move to Power Query because…, (3) Use Pivot because… Pick one with 3-line rationale.

可替换变量: formula

12. 表格公式审计

Audit this sheet for: (1) Hardcoded numbers that should be inputs, (2) Formulas with > 5 levels of nesting, (3) Inconsistent formulas across rows (some changed, some not), (4) Circular refs. Output a fix list.

容易踩的坑

  • 没具体上下文——输出泛泛。
  • 不核对——AI 在软输入下会编数字。
  • 受众模糊——输出深浅不当。
  • 没字数限制——读者读不完前 5 行。
  • 所有场景一个模板——读者麻木。
  • 没”需要什么决定”——读者不知道做什么。
  • 不附原数据——claim 没 receipt。

优化技巧

  • 永远指明受众级别(IC / Manager / VP / CEO)。
  • 限长:战术 1 页,执行 3 条。
  • 开头先放”要什么决定”,上下文随后。
  • 附原数据链接,省一封后续邮件。
  • 发送前念出来,超 25 字的句子全砍。
  • AI 出稿 + 自审,不要不看就发。
  • 存好的样本,重用格式、刷新内容。

实操加深

使用这些 prompt 时,不要只替换一个主题词就直接交付。围绕「Excel 公式解读 Prompt:VLOOKUP / LAMBDA 模板」先补齐受众、渠道、长度、语气、参考样例、禁止样式和成功标准,再让模型输出 2 个不同版本做横向比较。好的结果应该能被另一个人直接复用,而不是只有顺滑但空泛的表达。

如果输出看起来像通用模板,下一轮要增加一个真实场景、一个反例和一个可检查指标,例如点击率、转化动作、字数、平台限制或品牌禁区。这样改出来的内容才更像可用资产,而不是一次性的灵感草稿。

FAQ

  • 文档多长?: 看受众耐心。战术 1 页,执行 3 条 + 链接。
  • AI 能取代分析师吗?: 初稿和模板可以;判断不行。
  • 多久刷一次?: 按节奏(周 / 月 / 季),受众疲劳就调整。
  • 要写风险吗?: 要。装作没风险会让下次报告失去信任。
  • 怎么保证事实准确?: 附数据源链接,发前让 peer 扫一下数。
  • AI 能自己出数据吗?: 不能——AI 会编看似合理的数字。连真实数据源。

相关阅读

标签: #Prompt #效率 #Excel #公式