Python Excel Automation

Practical Python tutorials for Excel automation and reporting workflows

Production-focused guides that turn recurring Excel work into maintainable Python — reading any workbook, cleaning and reshaping the data, writing formatted reports with charts, and scheduling and delivering them. Find your subject by topic, follow a track from the beginning, or search for the exact error you are looking at.

The four stages of an automated Excel report: read the source, clean and reshape it, format the workbook, then schedule and deliver it.The four stages of an automated Excel report: read the source, clean and reshape it, format the workbook, then schedule and deliver it.the whole job, from raw data to a delivered workbookReadpandas · openpyxlany format, any sheetTransformclean · join · pivotExcel formulas in pandasPresentstyles · chartstables · templatesDeliverschedule · emailcloud · web apps
Browse by topic

Start from the subject you are working on

Each topic page gathers every guide, how-to, comparison and fix on its subject, wherever in the site it lives. All topics →

Formulas & Excel logic

Writing formulas from Python, reading their results, and replacing them with code.

Driving Excel itself

When the file is not enough and you need the Excel application — on the desktop or online.

Follow a track

Or read it in order

Each track opens with an overview, then works through its guides, and every guide has its own how-tos. The full reading list →

When it breaks

Fix an error

Every error and fix →
Choose once

Compare the tools

Choosing a library →
Newly added

Latest how-tos

The most recent additions to the site.