科研技能库/电子表格公式助手
数据分析
未发现用户侧风险

电子表格公式助手

编写和调试电子表格公式(Excel/Google Sheets)、数据透视表和数组公式;在不同方言间转换;当用户需要带有示例和边缘情况检查的工作公式时使用。

文件预览

1 个文件
SKILL.md
1.3 KB · 可预览
---
name: spreadsheet-formula-helper
description: 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.
metadata:
  short-description: Build/debug Excel or Sheets formulas
---

# Spreadsheet Formula Helper

Produce reliable spreadsheet formulas with explanations.

## 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
1) Restate the problem with explicit ranges and sheet names; propose a minimal sample to verify.
2) Draft formula(s); when dynamic arrays are available, prefer them over copy-down formulas.
3) Explain how it works and where to place it; include named ranges if helpful.
4) Edge cases: blank rows, mixed types, timezone/date quirks, duplicates; offer guardrails (e.g., `IFERROR`, `LET`, `LAMBDA`).
5) Variants: if porting between Excel and Sheets, provide both versions.

## Output
- Primary formula, short explanation, and a 2–3 row worked example showing inputs → outputs.
- Optional: quick troubleshooting checklist for common errors.

SKILL.md

元数据
namespreadsheet-formula-helper
description编写和调试电子表格公式(Excel/Google Sheets)、数据透视表和数组公式;在不同方言间转换;当用户需要带有示例和边缘情况检查的工作公式时使用。
metadata{ "short-description": "构建/调试 Excel 或 Sheets 公式" }

电子表格公式助手

生成可靠的电子表格公式并附上解释。

收集的输入信息

  • 平台(Excel/Sheets)、区域设置(逗号与分号分隔符)、示例数据布局(标题、范围)、预期输出以及约束条件(是否允许易变函数?)。
  • 提供包含少量示例行及其期望结果的例子。

工作流程

  1. 使用明确的范围和表名重述问题;提出一个最小的示例来验证。
  2. 起草公式;当动态数组可用时,优先使用它们而不是向下复制的公式。
  3. 解释公式的工作原理以及放置在何处;如果有助于理解,可包含命名范围。
  4. 边缘情况:空白行、混合类型、时区/日期特性、重复项;提供防护措施(例如 IFERROR、LET、LAMBDA)。
  5. 变体:如果在 Excel 和 Sheets 之间移植,请提供两个版本。

输出

  • 主要公式、简短说明,以及一个展示输入 → 输出的 2-3 行示例。
  • 可选:常见错误快速故障排除清单。