Python-Powered Excel: Boost Your Excel Productivity with the Power of Python by Microsoft Press
3h 33mIntermediate2025-07-11
Authors

Shaun Wassell
Full-Stack Software Developer

Microsoft Press
Microsoft
Course details
This course covers the exciting integration of Python into Excel, showing you how to leverage Python’s capabilities directly into your spreadsheet workflow. By combining these two powerful tools, instructor Shaun Wassell demonstrates how to build custom functions, automate data processing, and unlock analysis methods that go far beyond Excel's native features. With live training, you’ll learn the basics of Python, as well as how to work seamlessly across Python and Excel, using Python for both in-cell calculations and broader spreadsheet editing. Whether you’re looking to streamline data tasks, integrate external data, or build complex models, this course provides the foundational skills you need.
Learning objectives
Write and execute Python code directly within Excel.
Reference Excel cells, ranges, and tables, and then perform advanced calculations on them using Python code.
Automatically read from and write to Excel spreadsheets using Python scripts.
Build custom Python-powered Excel functions for tailored data analysis.
Learning objectives
Write and execute Python code directly within Excel.
Reference Excel cells, ranges, and tables, and then perform advanced calculations on them using Python code.
Automatically read from and write to Excel spreadsheets using Python scripts.
Build custom Python-powered Excel functions for tailored data analysis.
Skills covered
SpreadsheetsMicrosoft ExcelPythonProgramming LanguagesBusiness Software and ToolsOpen SourceMicrosoftSoftware DevelopmentOne-Off
Concepts
Introduction
- Python-powered Excel - Introduction
Learning Basic Concepts
- Learning objectives
- Learn how to reference cells in Python
- Learn how to reference ranges in Python
- Learn how to reference tables
- Control cell output
- Deal with errors
Formatting and Styling with Python
- Learning objectives
- Format and style spreadsheets with Python
- Demo - Insert and hide rows
- Demo - Manipulating borders
- Demo - Coloring by value
- Demo - Creating custom themes
Building Custom Excel Functions
- Learning objectives
- Set up custom functions
- Write your first custom function
- Demo - Grade calculator
- Demo - Income tax calculator
- Demo - Investment growth calculator
Learning Data Scraping and Integration
- Learning objectives
- Learn the basics of data scraping
- Demo - Convert HTML data to a spreadsheet
- Demo - Create a scrape custom function
Incorporating Generative AI
- Learning objectives
- Let generative AI edit spreadsheets
- Query generative AI APIs
- Demo - Translate text
- Demo - Automatic image generation
Conclusion
- Python-powered Excel - Summary