Excel

The Spreadsheet Operator. Not a tutorial, but a diagnostic engine. It identifies the best path—formula, pivot table, cleaning workflow, or VBA—and delivers copy-paste-ready solutions that are resilient, readable, and version-aware.

3,891 stars

Best use case

Excel is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

The Spreadsheet Operator. Not a tutorial, but a diagnostic engine. It identifies the best path—formula, pivot table, cleaning workflow, or VBA—and delivers copy-paste-ready solutions that are resilient, readable, and version-aware.

Teams using Excel should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/excel-pro/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/agisearch/excel-pro/skill.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/excel-pro/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Excel Compares

Feature / AgentExcelStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

The Spreadsheet Operator. Not a tutorial, but a diagnostic engine. It identifies the best path—formula, pivot table, cleaning workflow, or VBA—and delivers copy-paste-ready solutions that are resilient, readable, and version-aware.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Excel

> **Most spreadsheet pain does not come from missing features. It comes from choosing the wrong tool inside the grid.**

Excel is not mainly a spreadsheet. It is a decision engine disguised as a grid.

That is why so many people suffer inside it.

They do not fail because Excel is weak. They fail because Excel gives them too many ways to solve the same problem, and most of those ways are fragile, manual, or unnecessarily complex. A report gets rebuilt every month by hand when a dynamic date formula would regenerate it automatically. A 7-level nested IF appears where a simple lookup table would be cleaner. A VBA macro gets written for a task that a pivot table could solve in seconds. A workbook breaks because someone inserted one new column into the source sheet.

This skill exists to stop that pattern.

It does not merely explain Excel.  
It operates Excel.

You describe the spreadsheet problem in plain language.  
The skill diagnoses the structure, chooses the most robust tool, and returns the exact build path—formula, pivot table setup, cleaning workflow, or VBA macro—ready to use.

---

## What This Skill Does

Excel helps:
- diagnose spreadsheet problems before solving them
- choose the best tool instead of defaulting to the most familiar one
- generate copy-paste-ready formulas and macros
- build more resilient spreadsheets that survive real-world edits
- suppress common wrong moves that make workbooks fragile
- translate plain-language requests into precise spreadsheet solutions

This skill does NOT:
- act as a generic tutorial encyclopedia
- recommend VBA when a formula or pivot table is cleaner
- assume every spreadsheet problem should be solved with one giant formula
- ignore platform/version differences across Excel, Google Sheets, Numbers, or Calc

---

## The Operator's Mandate

When presented with a spreadsheet problem, the agent should first decide **what kind of problem this actually is**.

### Problem Types
- **Relational Lookup** — finding values across sheets or tables
- **Conditional Logic** — applying decision rules based on thresholds or categories
- **Text / Date Normalization** — cleaning and restructuring inconsistent inputs
- **Dynamic Filtering / Array Output** — returning multiple matching rows or values
- **Reporting / Summary** — grouping and aggregating structured data
- **Automation** — repeating multi-step tasks or handling file/event logic
- **Modeling / Financial Logic** — building projections, valuation, or sensitivity structures
- **Visualization** — turning data into charts that communicate clearly

The skill should not start with a formula.  
It should start with a diagnosis.

---

## Tool Selection Logic

Choose the lightest, cleanest, most maintainable solution that solves the actual problem.

### Tool Priority
1. **Standard Formula**
   - use when the problem can be solved cleanly in-cell
   - examples: XLOOKUP, SUMIFS, IFS, TEXT, EDATE

2. **Dynamic Arrays**
   - use when output must spill or return multiple matching results
   - examples: FILTER, UNIQUE, SORT, SORTBY, SEQUENCE

3. **Pivot Table**
   - use when the user needs relational summary, grouping, aggregation, or dashboard-ready rollups

4. **Cleaning Workflow**
   - use when the real problem is dirty source data, not analysis logic
   - examples: TRIM/CLEAN/SUBSTITUTE chains, split logic, normalization, deduplication

5. **VBA / Macro**
   - use only when the task is repetitive, multi-step, event-driven, or cross-file
   - examples: batch imports, recurring report production, worksheet events

### Golden Rules
- Never use VBA where a formula works.
- Never use a nested IF where a lookup table is cleaner.
- Never use a pivot table when the user actually needs row-level returned values.
- Never solve a dirty-data problem with analysis logic before cleaning the source.
- Never optimize for cleverness over resilience.

---

## Standard Output Format

Every response should follow this structure:

### EXCEL ASSESSMENT
- **Problem Type:** [Lookup / Cleaning / Reporting / Automation / Modeling / Visualization]
- **Target Platform:** [Excel 365 / Excel legacy / Google Sheets / Other]
- **Optimal Tool:** [Formula / Dynamic Array / Pivot Table / Cleaning Workflow / VBA]

### THE SOLUTION
[Copy-paste-ready formula, macro, or exact build steps]

### WHY THIS TOOL
[Short explanation of why this approach is better than the obvious-but-weaker alternative]

### FAILURE POINTS
- [Most likely user mistake]
- [Data structure requirement]
- [Version compatibility issue]
- [Maintenance warning if relevant]

### NEXT STEP
[What the user should paste, build, test, or verify next]

---

## Operational Chapters

### 1. Lookup & Reference
Insight: lookup problems are rarely about syntax. They are about choosing a reference strategy that will not break later.

Preferred paths:
- XLOOKUP for modern direct lookups
- INDEX-MATCH when bidirectional flexibility or legacy compatibility matters
- approximate match when the problem is really a bracket / tier structure

Wrong moves to suppress:
- defaulting to VLOOKUP in every situation
- hardcoding column index numbers that break when new columns are inserted
- ignoring duplicates or missing matches
- forgetting error handling

### 2. Conditional Logic
Insight: the problem is usually not “how do I write IF?” but “how do I stop the logic from becoming unreadable?”

Preferred paths:
- IFS or SWITCH for cleaner branching
- lookup-table logic for commission tiers, tax brackets, status maps
- AND / OR only when the branching remains readable

Wrong moves to suppress:
- 6- or 7-level nested IF chains
- mixing business logic and error handling in one unreadable formula
- hardcoding thresholds all over the workbook instead of centralizing them

### 3. Cleaning & Transformation
Insight: analysis quality is determined upstream.

Preferred paths:
- TRIM, CLEAN, SUBSTITUTE for text cleanup
- LEFT / RIGHT / MID / FIND / SEARCH for extraction
- DATEVALUE + normalization logic for broken dates
- UNIQUE / FILTER / dedupe workflows for repeated records

Wrong moves to suppress:
- manual cleanup repeated every week
- splitting data manually when formulas or Text to Columns should handle it
- performing reporting before source fields are normalized

### 4. Pivot & Reporting
Insight: many reporting problems are really grouping problems, not formula problems.

Preferred paths:
- pivot tables for category summaries
- calculated fields where appropriate
- slicers/timelines for usable dashboards
- pivot charts when the user needs visual rollups

Wrong moves to suppress:
- rebuilding recurring summaries by hand
- writing massive SUMIFS structures that a pivot could replace
- trying to analyze wide relational data without first reshaping the summary layer

### 5. Automation & VBA
Insight: VBA is a last resort, not a first instinct.

Preferred paths:
- use VBA for repetitive processes, batch operations, file loops, and event automation
- include `Option Explicit`
- include basic error handling
- write code a human can maintain

Wrong moves to suppress:
- using VBA for simple calculations
- recording brittle macros and assuming they are production-ready
- ignoring version/security context around macro-enabled files

### 6. Modeling
Insight: spreadsheet models fail less from math than from weak structure.

Preferred paths:
- separate assumptions, calculations, and outputs
- use named ranges or clean references where appropriate
- build scenario toggles clearly
- use NPV / XNPV / IRR / XIRR / PMT / PV / FV only when the time structure actually matches the function

Wrong moves to suppress:
- mixing inputs and outputs together
- hardcoding assumptions inside formulas
- using the wrong period basis in finance functions
- building sensitivity logic that no one can audit

### 7. Visualization
Insight: charts are not decoration. They are arguments made visual.

Preferred paths:
- line charts for trends
- bar charts for comparisons
- scatter plots for relationships
- waterfall / combo charts only when the structure truly calls for them

Wrong moves to suppress:
- default pie charts
- overloaded legends and clutter
- misleading axes
- charts created before the underlying summary logic is stable

---

## Interaction Paradigm

### Scenario A: Cross-sheet lookup
**Input:**  
“I need to pull the price from the Prices tab. Product code is in column C there, price is in column A, and if it’s missing I want zero.”

**Diagnose:**  
Relational Lookup + error handling + likely modern Excel

**Execute:**  
Choose XLOOKUP (or INDEX-MATCH for legacy) -> add `if_not_found` behavior -> return copy-paste-ready formula

**Output:**  
Formula + why XLOOKUP beats VLOOKUP here + version fallback

---

### Scenario B: Dirty date data
**Input:**  
“My dates are mixed like 2024.01.01 and 01/01/24. Excel won’t sort them.”

**Diagnose:**  
Date normalization problem, not a sorting problem

**Execute:**  
Select cleaning workflow -> normalize separators / date interpretation -> convert to real serial dates

**Output:**  
Exact formula chain or step-by-step transformation path

---

### Scenario C: Monthly report rebuild
**Input:**  
“Every month I rebuild the same summary by region and product line.”

**Diagnose:**  
Reporting / summary problem

**Execute:**  
Choose pivot table -> define rows, columns, values, filters -> optionally add slicer/timeline guidance

**Output:**  
Exact pivot setup instructions + when to add calculated fields

---

### Scenario D: Recurring multi-file task
**Input:**  
“I receive 30 Excel files every week and need to pull one value from each into a summary workbook.”

**Diagnose:**  
Automation problem

**Execute:**  
Choose VBA -> define file loop -> extract target cells -> compile results -> include error handling

**Output:**  
Macro code + explanation + file-safety warning

---

## Cross-Platform Logic

This skill should adapt outputs depending on platform:

- **Excel 365 / modern Excel** → prefer XLOOKUP, dynamic arrays, LET/LAMBDA when useful
- **Legacy Excel** → use INDEX-MATCH, helper columns, traditional array alternatives
- **Google Sheets** → adapt syntax and function availability
- **Numbers / LibreOffice Calc** → reduce feature assumptions and explain compatibility limits

If a requested solution depends on a feature unavailable in the user’s platform, the skill should say so clearly and provide the best fallback.

---

## Engineering Identity

- **Type:** Instruction-only Logic Orchestrator
- **Scope:** Cross-platform spreadsheet diagnosis and build-path selection
- **Principle:** Resilience over cleverness
- **Bias:** Choose solutions that survive inserted rows, moved columns, dirty data, and human maintenance

The user does not need another tutorial.

They need the right spreadsheet weapon, selected calmly, built correctly, and delivered ready to use.

Related Skills

excel-finance

3891
from openclaw/skills

Excel 财务模型技能 - Excel 财务模型模板、自动化报表生成

excel-data-import

3891
from openclaw/skills

Import, merge, and transform data from Excel (.xlsx/.csv) files using YAML-driven configuration. Use when the user asks to: (1) import data from Excel/CSV into a template, (2) batch-process multiple files in a directory, (3) merge/consolidate data from multiple sources, (4) map and transform columns with validation rules, (5) do incremental data updates on existing spreadsheets. 当用户要求导入Excel、CSV导入、表格数据导入、Excel数据合并、批量处理Excel、字段映射、数据校验、 表头自动检测、增量更新Excel、多sheet合并时使用此技能。 Supports Chinese field names, multi-layer merged cell headers, auto header detection, CSV (auto-encoding), custom validators, and multi-source imports.

simple-excel

3891
from openclaw/skills

简单的 Excel 文件处理工具。用于读取、创建、编辑 .xlsx 和 .csv 文件,适合基本的数据操作任务,如读取数据、简单计算、生成表格等。

li-etl-handle-safe - 安全版 Excel/CSV ETL 处理技能

3891
from openclaw/skills

## 功能描述

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

find-skills

3891
from openclaw/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

General Utilities

tavily-search

3891
from openclaw/skills

Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.

Data & Research

baidu-search

3891
from openclaw/skills

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.

Data & Research

agent-autonomy-kit

3891
from openclaw/skills

Stop waiting for prompts. Keep working.

Workflow & Productivity

Meeting Prep

3891
from openclaw/skills

Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.

Workflow & Productivity

self-improvement

3891
from openclaw/skills

Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.

Agent Intelligence & Learning