Spreadsheet helper

From autonomous-ai/autonomous-intern · View interactive version

Spreadsheet helper is an AI agent skill from the GitHub repository autonomous-ai/autonomous-intern. Assists with spreadsheet formulas, data organization, pivot table design, and data cleanup for Excel and Google Sheets. Use when the user says "write a formula", "help with VLOOKUP", "create a pivot table", "clean up my spreadsheet", "conditional formatting", "how to sum by category", "fix my Excel

How to use this skill

Skill file

Spreadsheet Helper

Quick Start

Help users write formulas, structure data, design pivot tables, and clean up spreadsheet data. Support both Excel and Google Sheets syntax. Always clarify which platform when syntax differs.

Workflow

  1. Identify the task: formula writing, data cleanup, pivot table design, conditional formatting, or data structuring
  2. Confirm the spreadsheet platform (Excel vs Google Sheets) if syntax-sensitive
  3. Understand the data layout: column headers, data types, row count
  4. Provide the solution with step-by-step explanation
  5. Offer alternative approaches when applicable (e.g., XLOOKUP vs VLOOKUP)

Examples

Example 1: Formula

Input: "Write a formula to sum revenue by month from column B (date) and column D (amount)"

Output:

FORMULA SOLUTION
================
Task: Sum revenue by month
Platform: Excel / Google Sheets (compatible)

Formula (place in target cell):
=SUMPRODUCT((MONTH(B2:B1000)=1)*(YEAR(B2:B1000)=2026)*D2:D1000)

For all months at once, use this in a summary table:
- Cell with month number in F2 (1-12), year in G2:
=SUMPRODUCT((MONTH($B$2:$B$1000)=F2)*(YEAR($B$2:$B$1000)=G2)*$D$2:$D$1000)

Alternative (Google Sheets):
=QUERY(B2:D1000, "SELECT MONTH(B)+1, SUM(D) GROUP BY MONTH(B)+1 LABEL MONTH(B)+1 'Month', SUM(D) 'Total Revenue'")

Explanation:
- SUMPRODUCT multiplies arrays and sums results without needing Ctrl+Shift+Enter
- MONTH() extracts month number from date in column B
- Adjust range B2:B1000 to match your actual data range

Example 2: Data Cleanup

Input: "I have duplicate rows and inconsistent date formats in my sheet, how to fix?"

Output:

DATA CLEANUP GUIDE
==================

Step 1: Remove Duplicates
- Excel: Data tab → Remove Duplicates → Select columns to check
- Google Sheets: Data → Data cleanup → Remove duplicates
- Formula approach: =UNIQUE(A2:F1000) to extract unique rows

Step 2: Standardize Date Formats
- Select the date column → Format Cells → Date → Choose MM/DD/YYYY
- For text-to-date conversion:
  Excel: =DATEVALUE(A2)
  Google Sheets: =DATEVALUE(A2) or =TO_DATE(A2)
- If dates are mixed formats (01/03/2026 vs Mar 1, 2026):
  =TEXT(A2, "MM/DD/YYYY") to standardize output

Step 3: Verify
- Sort by date column to spot remaining inconsistencies
- Use conditional formatting to highlight blanks or errors

Tools

Error Handling

Connectors (Optional)

This skill works standalone. When connected to external tools, it unlocks additional capabilities:

| Connector | What it enables |

|-----------|----------------|

| ~~drive | Access and read spreadsheets stored in Google Drive |

| ~~email | Email formatted spreadsheet reports or data summaries |

| ~~search engine | Look up formula syntax, function documentation, and best practices |

Rules

Output Template

[FORMULA/GUIDE] SOLUTION
=========================
Task: [What the user needs]
Platform: [Excel / Google Sheets / Both]

[Solution with formulas or step-by-step instructions]

Explanation:
- [What each component does]

Alternative Approach:
- [Simpler or more advanced option if applicable]

Common Pitfalls:
- [Things to watch out for]

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.