Get an advanced data analysis using Copilot in Excel with Python
Applies To
You can conduct advanced analysis without being a Python or Excel expert by using Copilot in Excel with Python. Use natural language to describe the analysis you want to perform, and Copilot will automatically generate, explain, and insert Python code into your Excel spreadsheet.
Notes:Â
-
Availability of Python in Excel is required to access this feature. For more details, see Python in Excel availability. Copilot in Excel with Python is available worldwide on Windows and web platforms for enterprise and consumer users in English, Simplified Chinese, French, German, Italian, Japanese, Brazilian Portuguese, and Spanish languages. Excel for Windows must meet the following version requirements:
-
Support for other platforms, and additional languages will be included in future iterations. To learn more, see Microsoft 365 Roadmap.Â
-
Current Channel starting with Version 2409 (Build 16.0.18025.00000).
-
Monthly Enterprise Channel starting with Version 2410 (Build 16.0.18227.00000).
Run advanced analysisÂ
-
Open Excel .
-
Make sure to format your data in a table or supported range.
-
Navigate to the Home tab, then select the CopilotÂ
​button​​​​​​​​​ in the ribbon. -
Choose Advanced analysis in the Copilot pane. If you don't see it, select See more.
-
Select Start to enter advanced analysis mode. When you enter this mode, Copilot creates a new sheet for your analysis and inserts any necessary Python code.
-
You can ask follow-up questions in your own words, or copy and paste this sample prompt:​​​​​​​
Get deeper analysis results using Python
-
Choose the Think deeper button to tackle more complex analysis questions. Think deeper uses reasoning models to create a more comprehensive and structured plan for your analysis.
ÂNote:Â Think deeper is rolling out gradually and may not be available to you yet. We're still exploring the best way to help you get great answers to both simple and complex analysis questions.
-
When you're done, select Stop advanced analysis in the Copilot pane. This takes Copilot out of the advanced analysis mode so you can use other Copilot skills.