Built on xlwings Lite, created by Felix Zumstein. Official resources:
ChatGPT, Claude, Gemini or AI Studio. You paste your code into the chat and paste the new code back into xlwings Lite. It is free and works well for small scripts.
Claude Code, Cursor, Codex or Antigravity. The AI coder edits the script file directly. You paste it into xlwings Lite, run it and share any error back. This works better once a script grows to a few hundred lines.
The AI coder writes the code, runs it in your Excel, reads the output and errors, and fixes them on its own. You review the results and check the numbers. I use Claude Code for this. It needs desktop Excel on Windows and a one-time setup of about 10 minutes, described in section 17 of the AI Coder Instructions.
View the complete guide in your browser with proper formatting and navigation.
View in Browserxlwings Lite, AI workflows
& data automation
13 xlwings Lite Tools Updated for the Current Build, and How I Build With an AI Coder Now
2026-08-07An Excel Tracker for Hundreds of Yahoo Finance Tickers
2026-02-21xlwings Lite Local File Access: 8 Patterns You Can Use Today
2026-02-14xlwings Lite WINGMAN function - usage patterns
2026-02-07Python In Excel - Claude Vs. xlwings Lite? Who Wins?
2026-01-17xlwings Lite Data Importer v2 Released
2026-01-09DuckDB Meets Excel: xlwings Lite Data Tools
These tools have been built up over time and I update them as far as possible, but each one sits on top of parts that move on their own schedule: the xlwings Lite runtime, the APIs a tool calls, the third-party services behind those, and other reasons besides. So a tool that worked last month can throw an error today. It is usually a small fix. Copy the error and the tool's code into your AI along with the AI Coder Instructions file above, and that is normally enough to get it working again.
A practice workbook to try with your AI, and a completed workbook with the full working code.
AI-driven variables, automated charts, profiling & best practices
AI-assisted data transformation, intelligent variable creation, automated profiling, and visualization. Learn to create derived variables, summary metrics, profile tables, correlation matrices, and charts using natural language instructions.
AI rule generation, test case creation & validation workflows
Using AI to generate, test, and validate a robust data cleaning script. Learn to analyze data patterns, generate cleaning rules, create test cases for edge scenarios, and audit AI's proposed logic.
Exclusion waterfall, segmentation & test/control framework
Working with AI to execute a full, auditable campaign workflow in xlwings Lite. Build exclusion waterfalls, segment populations into prioritized tiers, and implement statistically sound test/control groups.
Worked examples with test data you can download and try.
PDFs, HTML, PowerPoint, Parquet, email attachments - read & write local files
Read and write files on your local drive from xlwings Lite. Mount a local folder, then use 8 distinct patterns covering the most common file workflows.
Data cleaning & judgment-based categorization from a prompt and a range
Like =COPILOT in Excel - pass a prompt and data range, get structured results. Works with full ranges, adjacent ranges, and single rows.
See xlwings Lite in action with these live working apps.
A downloadable Excel workbook that pulls prices, dividends and earnings calendar data for hundreds of Yahoo Finance tickers - for when WEBSERVICE keeps failing.
Describe in natural English what and how you need the scrape to be done. Transform Excel into an intelligent web scraping platform.
Technical analysis for any Yahoo Finance symbol: indicators and charts in Excel, plus an AI-written report.
Query a Neon Postgres database straight from Excel, then run EDA and an XGBoost response model.
Call an LLM API from Excel (Gemini or any model on OpenRouter), get structured JSON back, and use it to drive a Python EDA.
Import any file format into xlwings Lite. CSV, Parquet, DuckDB, PDF, Images, ZIP - from cloud URLs with auto-conversion to DuckDB for SQL.
Two-period mutual fund holdings analysis with intelligent automation and data quality checks.
28 posts on Python in Excel, automation, and AI workflows.