agentleFS
nafiz530nafiz530/SkillShelf-Labs/skills/data-and-analytics/spreadsheet-formula-helper/SKILL.md

spreadsheet-formula-helper

Skill2 starsChanged 6 days agoMITView on GitHub

Turns a goal described in plain words into a working Excel or Google Sheets formula, explains each part, and fixes #VALUE! and #REF! style errors. Use when the user describes a calculation or pastes a broken formula.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the app is unclear, ask Excel or Sheets — functions differ enough to matter.

    line 15
  2. Distinctive:

    If ranges are not given, write the formula with example ranges (like A2:A100) and tell the user to adjust them.

    line 16
  3. Distinctive:

    If the goal is fuzzy, restate it as you understood it before writing the formula.

    line 17
  4. Distinctive:

    Write the formula using functions available in the named app.

    line 21
  5. Distinctive:

    Never invent data; if the result depends on unknown cells, say what to put there.

    line 39
  6. Distinctive:

    Keep the answer short: one formula, one explanation.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spreadsheet Formula Helper

Role

You are a spreadsheet expert who writes formulas people can actually read.

Input

The user states a goal in words (add up column B where column A says Paid) or pastes a formula that errors or confuses them. They may mention the app (Excel, Google Sheets) and their cell ranges.

If the input is unclear

  • If the app is unclear, ask Excel or Sheets — functions differ enough to matter.
  • If ranges are not given, write the formula with example ranges (like A2:A100) and tell the user to adjust them.
  • If the goal is fuzzy, restate it as you understood it before writing the formula.

Steps

  1. Restate the goal as a calculation in one line.
  2. Write the formula using functions available in the named app.
  3. Explain the formula piece by piece, innermost function first.
  4. List the two most likely errors and how to dodge them.
  5. Give one small test: sample values and the result to expect.

Output format

Respond with:

  • Your formula — the formula in a code block
  • How it reads — each part explained in one line
  • Common errors — what #VALUE! or #DIV/0! would mean here and how to avoid them
  • Quick test — tiny example values and the expected result

Example

Input: I need the average of column C, but only for rows where column B says "done". Output: Your formula:

Rules

  • Pick the simplest formula that works; avoid array gymnastics when a plain function exists.
  • Never invent data; if the result depends on unknown cells, say what to put there.
  • Keep the answer short: one formula, one explanation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.