Python in Excel availability
Python in Excel is currently in preview and is subject to change based on feedback.
This feature is gradually rolling out to Family and Personal users running Current Channel on Windows. It's available for Enterprise, Business, and Education users running Current Channel (Preview) on Windows through the Microsoft 365 Insider Program. It's rolling out to Excel for Windows first, starting with Version 2406 (Build 17726.20016), and then to other platforms at a later date.
If you encounter any issues with Python in Excel, please report them by selecting Help > Feedback in Excel.
New to Python in Excel? Start with Introduction to Python in Excel and Get started with Python in Excel.
Platform availability
The Python in Excel preview is available on Excel for Windows for customers with Family or Personal Microsoft 365 subscriptions running the Current Channel.
Note: The Current Channel is the default update channel for Family and Personal subscriptions. If you've changed your update channel in the past, make sure you have the latest Current Channel build of Excel installed to access Python in Excel.
If you have an Enterprise, Business, or Education subscription, Python in Excel is available through the Microsoft 365 Insider Program. Choose the Current Channel (Preview) Insider level and install the latest build of Excel.
Python in Excel is available starting with Version 2406 (Build 17726.20016).
Tip: Choose the Beta Channel Insider level to access Python in Excel features that haven't yet been released to the Current Channel and Current Channel (Preview).
The feature is not available on the following platforms.
-
Excel for Mac
-
Excel on the web
-
Excel for iPad
-
Excel for iPhone
-
Excel for Android
On unsupported platforms, workbooks containing Python can be viewed but Python cells display an error when recalculated.
Note: Python in Excel requires Microsoft Edge WebView2.
What’s included in your Microsoft 365 subscription?
While Python in Excel is in preview, all Excel for Windows customers using the Current Channel, Current Channel (Preview), or Beta Channel can add or edit Python formulas with premium compute speeds. To gain full access to premium compute, you must opt into the preview. Enable the preview for access to faster calculations with premium compute.
Important: While in preview, Python in Excel at premium compute speeds is included in your Microsoft 365 subscription. After the preview, access to premium compute will require a paid license. Please note that users will still be able to use Python in Excel at standard compute speeds without a paid license. More details will be available before general availability.
Microsoft 365 license requirements
The Python in Excel preview is available with a paid Microsoft 365 consumer, commercial, or education license that provides access to the Microsoft 365 desktop apps, such the Office 365 E3 and E5 licenses.
Important: Microsoft 365 connected experiences must be enabled to use the Python in Excel preview.