Some questions push past what a formula can comfortably answer: a forecast across several quarters, a significance test, a grouping of customer records, a type of chart Excel simply doesn’t offer. In cases like those, you can now just ask Copilot. Describe in plain language what you want to know, and Copilot writes the Python code behind the scenes, runs it, and puts the result into your workbook. You don’t need to know how to program. Microsoft documented the feature at the end of August for Windows, Mac and the web. Here’s how to use it, and what happens to your data when you do.
|
|
|
3 minutes |
|
Two pieces come together here, and both have been around for a while on their own: Python in Excel, and Copilot’s editing mode. What’s new is that Copilot now puts Python to work itself, rather than handing you code to paste in. This has been rolling out since the spring; since late August it has been in the release notes for all three platforms.
In practice, analyses that used to mean reaching for a second tool now stay in the workbook. Copilot draws on the same toolkit data analysts use the world over – libraries with names like pandas, matplotlib and scikit-learn. You don’t need to know any of them, and there’s nothing to install; Copilot picks whatever suits your question. What matters for you is what it makes possible: forecasts, grouping similar records together, statistical tests, and charts such as box plots or heatmaps that are awkward to build with Excel’s own tools.
It’s worth knowing where the code actually runs: not on your machine, but in a sealed-off container in Microsoft’s cloud. Microsoft says the Python code can reach neither your device nor the network, and that the data isn’t stored there permanently. Every workbook gets its own isolated container.

The real advance here isn’t the technology, it’s how far the barrier has dropped: analyses that used to call for specialist knowledge or a second tool now come out of a single sentence in plain language. You can look behind the curtain if you want to, but nothing makes you. A good place to start is an analysis you already run every month – describe it once, check the result, and reuse it the next time around.