Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates, reads, edits and analyses Excel spreadsheet files (.xlsx, .xlsm, .xltx, .csv, .tsv) using openpyxl and pandas.
Use this skill ↓68% 91%+23 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 15 of 22 without it.
3 of 3 safety checks passed
Not used yet
A .xlsx file is a ZIP archive of XML. Work with it programmatically using openpyxl (formulas + formatting) or pandas (bulk data). Choose the right tool for the job and apply it precisely.
| Task | Tool |
|---|---|
| Create or edit with formulas and formatting | openpyxl |
| Bulk data in/out, pivot analysis | pandas (read_excel, to_excel) |
| Quick read of content | markitdown file.xlsx |
| Reading both formulas AND cached values | Two load_workbook passes — see gotchas |
openpyxl,pandas, andmarkitdownare typically pre-installed. Import directly. Only runpip installif an import fails.
Every spreadsheet delivered must meet these standards:
recalc shows errors. A #DIV/0!, #REF!, or #NAME? in a delivered file is a failure.=SUM(B2:B9), not the Python-computed value. The sheet must recalculate when inputs change.import subprocess
# Quick content read (no cell coordinates — use for overview only)
result = subprocess.run(["markitdown", "file.xlsx"], capture_output=True, text=True)
print(result.stdout)
# Read into pandas (values only, no formulas)
import pandas as pd
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.