What problem does it solve?
Manual spreadsheet tasks are time-consuming, repetitive, and prone to errors. This Skill eliminates the drudgery by automating complex Excel operations, from dynamic formula creation and data entry to advanced analysis and error checking, ensuring accuracy and freeing up your valuable time.
Core Features & Use Cases
- Dynamic Spreadsheet Creation: Generate new
.xlsx files with intricate formulas, custom formatting, and robust data validation.
- Intelligent Data Analysis: Read, analyze, and modify existing spreadsheets while preserving complex formulas, styles, and structural integrity.
- Error-Free Recalculation: Automatically recalculate all formulas and identify/fix common Excel errors (e.g.,
#REF!, #DIV/0!) to guarantee data integrity.
- Use Case: Quickly create a comprehensive financial report by pulling raw data, applying complex financial models with industry-standard color coding, and automatically verifying all calculations, without ever manually touching Excel.
Quick Start
Example: Create a new Excel file with a sum formula and recalculate
from openpyxl import Workbook
wb = Workbook()
sheet = wb.active
sheet['A1'] = 10
sheet['A2'] = 20
sheet['A3'] = '=SUM(A1:A2)'
wb.save('my_data.xlsx')
MANDATORY: Recalculate formulas to get values and check for errors
python .claude/skills/xlsx/recalc.py my_data.xlsx