Python for Excel Users: Replace Your VBA with 10x Better Code
A complete guide for Excel VBA users learning Python. Every concept mapped to its Excel equivalent β VLOOKUP becomes merge(), SUMIF becomes groupby(), Pivotβ¦
Read article βExcel, SAP, Oracle & automation tips β plus wacky facts
Python for analysts and office automation.
Python for analysts and office automation.
π 28 articlesβ¬οΈ 27 with practice filesπ Updated 11 Nov 2026
π Start here: Rust Course β π Start here: Java Course β π Start here: R Course βA complete guide for Excel VBA users learning Python. Every concept mapped to its Excel equivalent β VLOOKUP becomes merge(), SUMIF becomes groupby(), Pivotβ¦
Read article βFinal project: read every monthly CSV in a folder, combine, enrich with products and customers, compute KPIs and write a multi-sheet Excel report withβ¦
Read article βTurn a script into a reusable tool with options and help text using argparse, and run it from a batch file or Windows Taskβ¦
Read article βRead and write JSON, call a REST API with requests, check status codes and handle errors, and convert rupees to other currencies from anβ¦
Read article βWrite Excel files people like to open: several sheets, live formulas, header styles, number formats, frozen panes and a chart, all from Python withβ¦
Read article βUse Python regex with named groups to parse UPI bank narrations and validate GSTIN, PAN and phone numbers, with patterns explained piece by piece.
Read article βClean types with to_datetime and to_numeric, merge three tables, use named aggregations in groupby and build pivot tables, avoiding the duplicate-column trap.
Read article βParse and format dates with strptime and strftime, compute FY labels and quarters, add working days with holidays and find month ends with datetime.
Read article βProcess files with bad rows without crashing: catch specific exceptions, log what was skipped and why, and use finally for clean-up.
Read article βWrite shorter, faster Python: list, dict and set comprehensions, generator expressions, enumerate, zip and sorted with a key function, on real invoice data.
Read article βSet up Python projects properly: one folder per project, a virtual environment, requirements.txt and pathlib paths that work wherever the script runs.
Read article βBuild a real automation: combine every monthly CSV in a folder, clean and summarise with pandas, write a multi-sheet Excel report with KPIs, andβ¦
Read article βBones are stronger than steel of the same weight.
Weight for weight, bone is remarkably strong, especially under compression, because of its mix of collagen and mineral.