Microsoft’s AI Copilot will now help you make pivot tables and write Python code within Excel

Microsoft Excel is the de facto standard for a lot of corporate number crunching, but even some frequent users don’t know everything that’s possible to do in the spreadsheet program. 

And many data scientists and machine learning experts still prefer to do some of their work with other tools, including the programming language Python and its popular data science libraries.

Now, Microsoft is looking to cater to both of those audiences, making generally available both an AI copilot that can guide your use of Excel and access to a facility for writing and using Python code directly within Excel. The Copilot can create formulas and pivot tables to answer a particular question, add sophisticated conditional formatting to highlight spreadsheet cells and rows with particular properties, and—in a feature expected to roll out to some users over the next few months—enter a “Copilot in Excel with Python” mode that uses Python data science libraries to analyze and visualize data.

“We see generative AI as a way to revolutionize how people do productivity in spreadsheets,” says Catherine Pidgeon, head of product for Excel. 

Over time, while in limited availability, the Excel Copilot has grown more sophisticated. It’s gained the ability to analyze ranges of cells within spreadsheets rather than just full tables, expanded the range of pivot tables and charts it can help create, and gotten access to some of Excel’s more powerful formula functions, like XLOOKUP for linking data between tables, that even power users often consult the manual before they use.

It’s also gotten better at explaining what it’s doing, providing a description of formulas or even Python code that it’s writing and often prompting the user to confirm that’s what they’re looking to do before making changes.

“We see this as providing more visibility to the way that Copilot thinks, both so users can learn better how to interact with Copilot, but also so they can validate quickly if that’s actually what they were seeking as a response,” says Pidgeon. 

Users can also ask the Copilot to further explain what it’s doing or how a particular feature works, or even for its advice about how to analyze some data, similar to how they’d interact with other AI systems like ChatGPT. And when users utilize the “Copilot in Excel with Python” mode, the Copilot by default creates a new table for its work, leaving the raw input data unchanged. That helps safeguard against accidentally changing the input, and it also allows users to automatically rerun the analysis if the input data changes over time.

“It echoes a pretty important design principle that we have for Copilot in Excel,” says Carlos Otero, principal product manager for Excel. “All of the analysis and all of the output that we generate on the page needs to be insertable in a refreshable, and editable, and verifiable way.”

In a demonstration, he highlighted how the Python Copilot mode could be used to create scatterplots and spot clusters in a set of sales data, and even find recurring terms in associated product reviews using the Natural Language Toolkit, a powerful and widely used open source Python library. The Copilot can write the Python code necessary and even explain how it works, and users are free to tweak it as they wish. Python code written by either users or the Copilot runs on a secure cloud server, with a standard set of common libraries for tasks like data analysis and machine learning available.

Pidgeon says so far, the Copilot has proven popular both with less-experienced users who are grateful to have assistance as they learn more Excel features and advanced users who see it as a timesaver, including some within Microsoft’s own finance teams. And the Python functionality will let users do data analysis work directly within Excel that they previously had to do with other software, with the same Copilot in place to assist. It’s a potentially significant improvement for data analysts who previously would have needed to sync data back and forth between their Excel sheets and Python scripts.

“You can see and edit the code right within the app that you use every day to analyze your data,” Pidgeon says. “You don’t have to go anywhere else.”

https://www.fastcompany.com/91190721/microsoft-ai-copilot-pivot-tables-and-python-code-within-excel?partner=rss&utm_source=rss&utm_medium=feed&utm_campaign=rss+fastcompany&utm_content=rss

Erstellt 11mo | 16.09.2024, 17:50:05


Melden Sie sich an, um einen Kommentar hinzuzufügen

Andere Beiträge in dieser Gruppe

AI gives students more reasons to not read books. It’s hurting their literacy

A perfect storm is brewing for reading.

AI arrived as both

17.08.2025, 10:20:08 | Fast company - tech
Older Americans like using AI, but trust issues remain, survey shows

Artificial intelligence is a lively topic of conversation in schools and workplaces, which could lead you to believe that only younger people use it. However, older Americans are also using

17.08.2025, 10:20:06 | Fast company - tech
From ‘AI washing’ to ‘sloppers,’ 5 AI slang terms you need to know

While Sam Altman, Elon Musk, and other AI industry leaders can’t stop

16.08.2025, 11:10:08 | Fast company - tech
AI-generated errors set back this murder case in an Australian Supreme Court

A senior lawyer in Australia has apologized to a judge for

15.08.2025, 16:40:03 | Fast company - tech
This $200 million sports streamer is ready to take on ESPN and Fox

Recent Nielsen data confirmed what many of us had already begun to sense: Streaming services

15.08.2025, 11:50:09 | Fast company - tech
This new flight deck technology is making flying safer, reducing delays, and curbing emissions

Ever wondered what goes on behind the scenes in a modern airliner’s cockpit? While you’re enjoying your in-flight movie, a quiet technological revolution is underway, one that’s

15.08.2025, 11:50:07 | Fast company - tech
The case for personality-free AI

Hello again, and welcome to Fast Company’s Plugged In.

For as long as there’s been software, upgrades have been emotionally fraught. When people grow accustomed to a pr

15.08.2025, 11:50:07 | Fast company - tech