xlsx

Create, edit, and recalculate Excel spreadsheets with formulas using openpyxl and pandas.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/adrianasiam19/ATLAS --skill xlsx-adrianasiam19
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/adrianasiam19/ATLAS/tree/main/.agent/skills/xlsx
Command: npx skills add https://github.com/adrianasiam19/ATLAS --skill xlsx-adrianasiam19

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, pandas, defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve? Working with spreadsheet files programmatically often leads to broken formulas, hardcoded values that cannot update, and Excel errors like #REF! or #DIV/0! that go unnoticed until delivery. This Skill provides a structured workflow for creating, editing, and analyzing .xlsx, .xlsm, .csv, and .tsv files while guaranteeing zero formula errors in the final deliverable. ## Core Features & Use Cases - Formula-First Spreadsheet Creation: Builds Excel files using openpyxl with live formulas instead of hardcoded Python-computed values, so spreadsheets recalculate when source data changes. - Automated Formula Recalculation and Error Detection: Runs scripts/recalc.py with LibreOffice to recalculate all formulas and scan every cell for errors (#REF!, #DIV/0!, #VALUE!, #NAME?, #N/A), returning JSON with exact error locations. - Financial Modeling Standards: Enforces industry color conventions (blue inputs, black formulas, green cross-sheet links), number formatting rules, and assumption-cell placement for professional financial models. - Use Case: A user asks to build a revenue projection model from a messy CSV export. The Skill cleans the data with pandas, writes formulas with openpyxl, applies financial formatting, then recalculates and verifies the workbook contains zero errors before delivery. ## Quick Start Use the xlsx skill to create a formatted Excel financial model from my sales data CSV with live formulas and verify it has no formula errors.

Frequently Asked Questions about xlsx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Excel file with formulas in Python?▼

Use openpyxl to write formula strings like '=SUM(B2:B9)' directly into cells, then save the workbook. Formulas are stored but not evaluated by openpyxl, so recalculate them with LibreOffice using the recalc.py script before delivery.

Should I use pandas or openpyxl for Excel files?▼

Use pandas for data analysis, bulk operations, and simple exports with pd.read_excel and df.to_excel. Use openpyxl when you need formulas, cell formatting, multiple sheets, or editing existing files while preserving their structure.

Why do my openpyxl formulas show no calculated values?▼

openpyxl stores formulas as strings but never evaluates them, so cells appear empty when read with data_only=True. Recalculate the file with LibreOffice via scripts/recalc.py to compute and store the values.

How do I find and fix #REF! or #DIV/0! errors in Excel files?▼

Run scripts/recalc.py on the file; it returns JSON listing each error type with cell locations like Sheet1!B5. Fix invalid references for #REF! errors and check denominators before division to prevent #DIV/0! errors, then recalculate again.

Can openpyxl edit an existing Excel template without losing formatting?▼

Yes, load the file with load_workbook() and modify cells, rows, or sheets while existing formulas and styles are preserved. Avoid saving a file opened with data_only=True, since that permanently replaces formulas with their cached values.