meta pixel

Python is coming to Microsoft Excel

Python in Excel sounds exciting. It creates interesting and new opportunities for users working in a well-known system such as Excel. Still, I anticipate a few challenges for those who are used to working in Excel.

    Posted byPablo Moreno|on Apr 29th 2025|2 min read

    Technology Expert

Earlier this week, Microsoft announced that it will integrate Python code into its Excel platform after a collaboration agreement was made with Anaconda Inc., the owner of the most popular distribution platform of Python. Currently, the Public Preview is not yet generally available, but the feature can be accessed by using the Beta Chanel in Excel for Windows.

In any case, we are witnessing more and more something that a few years ago was unthinkable: the combination of Python libraries, data visualization, and data analysis.

The Benefits

Executing Python code into an Excel spreadsheet opens a lot of possibilities in terms of data analysis, as it enables users to perform advanced statistical analysis by using the power of Python directly within Excel. Specifically, it is now possible to use existing data and convert it into a data framework for analysis.

Note that it is not necessary to install Python on your local system. For those of you who utilize Python, you know that its installation can be a challenge. Within Excel, Python will run in the Microsoft Cloud and the output of the executed code will be returned to the worksheet, placed in the cell where the code is located.

Creating more custom visualizations by leveraging Python libraries is yet another attraction of using Python within Excel.

The Limitations

Most Excel users are business individuals or business analysts with little to no background in programming. As such, I anticipate that the integration of Python into Excel will create hesitancy for certain users.

To combat this, new organizational skills will be needed. In addition to learning about and how to use Python, users should know that Python’s programming language is strikingly different than Excel’s. A few immediate questions come to mind:

  • How the execution of Python scripts will impact the computer power of the Microsoft Cloud?
  • Is there any cost associated?
  • What other libraries are supported?

I haven’t tested it yet, but I have to guess that this feature is limited to the plain data stored in the spreadsheet. Similarly, I infer that the execution of Python in Excel will be limited to the amount of data stored in the spreadsheet. This data is often smaller compared to the data sets that analysts and data scientists are used to working with.

Microsoft’s announcement notes that “all the data you process with Python in Excel must come from your worksheet or through Power Query,” meaning that users are unable to call upon external data.

The notion of managing errors is yet another crucial aspect to consider. When running Python, Excel users will now have to learn to read, interpret, and debug errors from Python in addition to the ones from Excel.

Final Thoughts

Yes, Python in Excel sounds exciting. It creates interesting and new opportunities for users working in a well-known system such as Excel. Still, I anticipate a few challenges for those who are used to working in Excel. Regardless, this is a wonderful opportunity to upskill. However you feel about this announcement, the Power Platform User Group is here to assist you on this journey.

About the Author

Pablo Moreno
Pablo Moreno

With over 20 years of experience in various business domains, I am a passionate and versatile data science and artificial intelligence professional, who can lead, manage, and execute complex and impactful projects across different industries and geographies. As a Consultant for Data Science and Artificial Intelligence, I am responsible for the core operation and global expansion of the AI and Data Science consulting and education business for several companies, where I identify and implement high-value AI solutions for diverse product lines and research initiatives. As an Analyst at Acceleration Economy, I am a market expert and content creator for data science, AI, cloud, and cybersecurity topics, where I publish and edit blogs, webcasts, and digital media. I am also a university professor, an international speaker, an author, and a Microsoft MVP for Data Platform, who supports open-source software development and education. My mission is to drive AI and data science innovation and education for the benefit of society and the environment.

Expertise

Python 9+ yrs
Machine Learning & Artificial Intelligence 9+ yrs
Entrepreneurship and Small Business 10+ yrs
Data Visualization 10+ yrs
Data Extraction / ETL 7+ yrs
Pablo Moreno

Pablo Moreno

Technology Expert


Trending Posts

Global HR>Global Employment

Payroll Compliance Checklist and Tax Law Guide for 2025

Highlight the critical nature of staying informed on payroll compliance and tax laws for tech companies with a global footprint in 2025.

Brian Mc Sweeney
Brian Mc SweeneyTechnology • 11+ years
Project & Product>Methodology

Agile Project Management: Key Benefits for Modern Product Teams

In the ever-evolving landscape of product development, staying ahead of the curve is paramount.

Yana Bell
Yana BellHuman Resources • 10+ years
Future of work

The Future of Remote Work: Trends and Predictions for 2025 and Beyond

Remote work is no longer just a trend; it's becoming a standard practice in the global workforce.

Stephen Mc Sweeney
Stephen Mc SweeneyOperations • 11+ years
Pablo Moreno

Pablo Moreno

Technology Expert


Trending Posts

Global HR>Global Employment

Payroll Compliance Checklist and Tax Law Guide for 2025

Highlight the critical nature of staying informed on payroll compliance and tax laws for tech companies with a global footprint in 2025.

Brian Mc Sweeney
Brian Mc SweeneyTechnology • 11+ years
Project & Product>Methodology

Agile Project Management: Key Benefits for Modern Product Teams

In the ever-evolving landscape of product development, staying ahead of the curve is paramount.

Yana Bell
Yana BellHuman Resources • 10+ years
Future of work

The Future of Remote Work: Trends and Predictions for 2025 and Beyond

Remote work is no longer just a trend; it's becoming a standard practice in the global workforce.

Stephen Mc Sweeney
Stephen Mc SweeneyOperations • 11+ years