# Microsoft announces Python integration in Excel; Know what’s coming | Tech News (HT Tech)

> Microsoft has announced more features that are coming to Excel with the integration of the high-level programming language Python.

# Microsoft announces Python integration in Excel; Know what’s coming

## Microsoft has announced more features that are coming to Excel with the integration of the high-level programming language Python.

Aug 24 2023, 14:21 IST

![Follow on Facebook](https://images.hindustantimes.com/tech/static/revamp/images/png/follow-us-facebook.png)

![Follow on Facebook](https://images.hindustantimes.com/tech/static/revamp/images/png/follow-us-facebook-hover.png)

![Share](https://images.hindustantimes.com/tech/static/revamp/images/png/Share.png)

![Share](https://images.hindustantimes.com/tech/static/revamp/images/png/Shareclicked.png)

![Share on WhatsApp](https://images.hindustantimes.com/tech/static/revamp/images/png/whatsapp.png)

![Share on WhatsApp](https://images.hindustantimes.com/tech/static/revamp/images/png/whatsapp-hover.png)

![Share on Twitter](https://images.hindustantimes.com/tech/static/revamp/images/png/twitter.png)

![Share on Twitter](https://images.hindustantimes.com/tech/static/revamp/images/png/twitter-hover.png)

![Share on Facebook](https://images.hindustantimes.com/tech/static/revamp/images/png/facebook.png)

![Share on Facebook](https://images.hindustantimes.com/tech/static/revamp/images/png/facebook-hover.png)

![Bookmark](https://images.hindustantimes.com/tech/static/revamp/images/png/Bookmark.png)

![Bookmarked](https://images.hindustantimes.com/tech/static/revamp/images/png/Bookmarked.png)

![Microsoft Excel](https://images.hindustantimes.com/tech/img/2023/08/24/1600x900/Microsoft_excel_1688270995801_1692865435031.jpg)

![icon](https://images.hindustantimes.com/tech/static/revamp/images/png/imageviewall.png)

Microsoft is bringing Python integration to Excel, providing users with more features to work with. (Microsoft)

Choose better. Buy smarter.

- Best laptops under ₹50,000

- Best mobile phones under ₹30,000

- Best TVs under ₹50,000

Riva by HT Tech generates recommendations using proprietary AI analysis built on years of editorial expertise.

![Author Photo](https://images.hindustantimes.com/tech/static/revamp/images/png/HTTech-new-circle-logo.png)

### By HT TECH

Launched in 1985, Microsoft Excel has been a powerful tool for businesses and individuals for almost 4 decades, and Microsoft has capitalized on this advantage by offering new features that attract and retain more users. It allows users to organize, analyze, and visualize their data in a better way. In June, Microsoft announced several major updates to its spreadsheet editor such as improvements in visualization, leveraging Office Scripts, recommended formulae, and more.

Now, Microsoft has announced more features that are coming to Excel with the integration of high-level programming language Python.

## Microsoft Excel gets Python integration

Providing a major boost to its analytical capabilities, Microsoft on August 22 announced that it is bringing Python to Excel through a Public Preview. It will be natively integrated into the Excel grid and can be accessed using the Excel ribbon, without needing it to be separately installed. Users will be able to take advantage of its functions by inputting Python code directly into cells using the PY function, Microsoft announced in a blog post.

Also read

click here.

Users can use Power Query and the connectors built in Microsoft Excel to bring over data from external sources to Python-enabled Excel sheets. It will be compatible with existing tools such as charts, formulae, PivotTables, and more. Python in Excel will use Anaconda Distribution running via Azure to provide analytics services such as predictive analytics, visualization using Matplotlib and Seaborn, cleaning data, and more.

Python in Excel will also leverage machine learning, forecasting techniques, and predictive analytics based on Python libraries such as scikit-learn and statsmodels to provide a variety of services such as time series modelling, regression analysis, and more.

Stefan Kinnestrand, General Manager of Product Marketing at Microsoft said, “Today, we are excited to introduce the Public Preview of Python in Excel – making it possible to integrate Python and Excel analytics within the same Excel grid for uninterrupted workflow.”

## How to use Python is Excel

Step 1: Open a spreadsheet and select the cell where you want to apply the formula.

Step 2: Go to the formula ribbon and select ‘Insert Python’ option. You can also use the PY function to directly enable Python in that cell. If it is enabled, the cell will turn green and display a PY function.

Step 3: To reference Excel elements within a Python cell, make sure that it is in Edit mode, and then select the individual or range of cells you wish to apply the Python formula to.

- Python in Excel takes advantage of the Python function xl() to establish a connection between Excel and Python, and it accepts objects such as ranges, tables, queries, and more. It's also possible to directly input references into a Python cell using the xl() function.

- To access code-like editing functions such as using the Enter key to generate new lines of code, users can utilize the formula bar. You can also expand it to view multiple lines of code simultaneously using Ctrl+Shift+U.

- To control how calculations are returned with Python in Excel, users can access the Python output menu located in the formula bar. You can either receive calculations as Excel values and output them to a cell or get them as Python objects containing additional information within cells.

- Users can also import external data into Excel using the ‘Get & Transform’ feature, although the data should either be imported from a power query or Excel workbook.

Microsoft announced that users will be able to share Python in Excel workbooks with their teammates across platforms like Outlook and Teams without the need for any additional tools. As part of Microsoft 365, it runs with enterprise-level security on Microsoft Cloud. The Python in Excel feature is currently being rolled out in Public Preview for Microsoft 365 Insiders program users. They can access it using the Beta channel in Microsoft Excel.

Catch all the Latest Tech News, Mobile News, Laptop News, Gaming news, Wearables News , How To News, also keep up with us on Whatsapp channel,Twitter, Facebook, Google News, and Instagram. For our latest videos, subscribe to our YouTube channel.

24 Aug, 13:54 IST

microsoft 365

microsoft excel

![HT Tech Awards](https://tech.hindustantimes.com/ht-tech-power-list-awards-2026/httech-awards-banner-new.webp)

### Related Stories

03 Nov 2026

02 Nov 2026

01 Nov 2026

71,692,865,110,390

NEXT ARTICLE BEGINS

![View all](https://images.hindustantimes.com/tech/static/revamp/images/png/view-all-icon.png)

## Tips & Tricks

![Ghibli-style art](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### How to turn your photos into Ghibli-style art with ChatGPT for free: Step-by-step guide

![How to create an invitation using iPhone’s new Apple Invites app- Step-by-step guide](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### How to create an invitation using iPhone’s new Apple Invites app- Step-by-step guide

![Apple TV app arrives on Android phones and tablets: What you get and how to install it](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Apple TV app arrives on Android phones and tablets: What you get and how to install it

![Vodafone Idea OTT plans](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Vodafone Idea users can now stream 17 OTT apps with one subscription: Here's how

![Android data transfer methods](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### How to transfer data from one Android to another using Google backup, USB-C cable, and more

## Editor’s Pick

![iPhone 16e launched with A18 chip, Apple AI—bringing flagship power on a budget: Check specs, price](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### iPhone 16e launched in India: All details about the new budget mobile from Apple

![DeepSeek was founded in China with only a fraction of the budget of the top AI companies in the US.](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### DeepSeek AI: How it works, who’s behind it, how it’s different from ChatGPT, and its big US market impact explained

![iPhone 17 Air likely to get this feature that iPhone 17 Pro models may miss out on](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### iPhone 17 Air likely to get this feature that iPhone 17 Pro models may miss out on

![Google Whisk AI explained: How remixing works, availability, and how it differs from Gemini](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Google Whisk AI explained: How remixing works, availability, and how it differs from Gemini

![iOS 18.4 beta arriving soon: Know why it is the biggest iPhone update](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### iOS 18.4 beta arriving soon: Know why it is the biggest iPhone update

## Trending Stories

![Airtel 5G SIM card will now be delivered in 10 minutes with Blinkit- How to order](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Airtel 5G SIM card will now be delivered in 10 minutes with Blinkit- How to order

![Infinix Note 50s 5G+](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Infinix Note 50s 5G+ set to launch in India with 64MP camera and MediaTek Dimensity 7300 SoC

![Xiaomi X Pro QLED Series sale starts in India: Check price, availability, and more](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Xiaomi X Pro QLED Series sale starts in India: Check price, availability, and more

![Apple Intelligence AI training](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Apple plans to train AI using your on-device data without accessing personal content or emails: Report

![CMF Buds 2](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### CMF Buds 2 key features and price revealed ahead of April 28 launch: Details inside

keep up with tech

![Facebook](https://images.hindustantimes.com/tech/static/revamp/images/png/tech-facebook.png)

![Twitter](https://images.hindustantimes.com/tech/static/revamp/images/png/tech-twitter.png)

![WhatsApp](https://images.hindustantimes.com/tech/static/revamp/images/png/tech-whatsApp.png)

![Facebook](https://images.hindustantimes.com/tech/static/revamp/images/png/tech-facebook.png)

## Gaming

![Check out these five gaming monitors under  <span class='webrupee'>₹</span>20,000,](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Top 5 gaming monitors under ₹20000 you should consider

![gaming consoles](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Grab gaming consoles at discounted rates during Amazon Great Indian Festival: Up to 72% off

![Pokémon GO Wild Area 2025](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Pokémon GO Wild Area 2025 to bring Grimmsnarl family, Shiny Hatenna, and global challenges

![Shade Silver](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Shade Silver free on Steam for a limited time: Here’s how to get it

![Call of duty](https://images.hindustantimes.com/tech/static/revamp/images/png/ht-tech-bg-img-90-66.png)

### Call of Duty: Black Ops 7 skips Switch 2 at launch, release date and price leak

![View all](https://images.hindustantimes.com/tech/static/revamp/images/png/view-all-icon.png)

## Trending News

### Airtel 5G SIM card will now be delivered in 10 minutes with Blinkit- How to order

![Airtel 5G SIM card will now be delivered in 10 minutes with Blinkit- How to order](https://images.livemint.com/static/static/1x1_img.gif)

### Infinix Note 50s 5G+ set to launch in India with 64MP camera and MediaTek Dimensity 7300 SoC

![Infinix Note 50s 5G+](https://images.livemint.com/static/static/1x1_img.gif)

### Xiaomi X Pro QLED Series sale starts in India: Check price, availability, and more

![Xiaomi X Pro QLED Series sale starts in India: Check price, availability, and more](https://images.livemint.com/static/static/1x1_img.gif)

### Apple plans to train AI using your on-device data without accessing personal content or emails: Report

![Apple Intelligence AI training](https://images.livemint.com/static/static/1x1_img.gif)

### CMF Buds 2 key features and price revealed ahead of April 28 launch: Details inside

![CMF Buds 2](https://images.livemint.com/static/static/1x1_img.gif)

## Trending Gadgets

Mobiles

Laptops

Tablets

![HT Tech](https://images.hindustantimes.com/tech/static/revamp/images/png/HT_tech-new.gif)

- https://tech.hindustantimes.com/tech/news/microsoft-announces-python-integration-in-excel-know-what-s-coming-71692865110390.html