Microsoft · Microsoft 365

Python with Edit with Copilot in Excel

Edit with Copilot in Excel can execute Python code against workbook data for advanced analysis, automation and data transformation, with results output directly into the workbook.

Recorded characteristics

Function
Allows a user to instruct Edit with Copilot in Excel to perform advanced analysis using Python, including statistics, simulations, advanced visualisations, automation and data transformation. Python results are output directly into the workbook.
Data access
The capability operates on data in the currently open Excel workbook. Access to other files, email or enterprise data is not established by the recorded evidence.
Actions
Can take actions
External actions
Unknown
Human confirmation
Not established
Permission basis
Not established
Administrative control
Existing Microsoft security and execution controls govern how Python code runs. Additional controls are not inferred beyond Microsoft documentation.
Default state
Not established
Availability
Microsoft documents the Python capability for Edit with Copilot in Excel on Windows, Mac and Web. Availability remains subject to applicable Copilot/Excel licensing and rollout.
Licensing
Use the applicable licensing information from Microsoft Edit with Copilot documentation. Licensing is not inferred beyond Microsoft documentation.
External model or provider
Not publicly established as a single model provider. Microsoft documents model selection within Edit with Copilot, including Microsoft-provided/default model selection and supported OpenAI and Anthropic models depending on eligibility and configuration.
Limitations and uncertainty
Only limitations directly supported by the evidence are recorded. The capability operates within the currently open workbook; this record does not generalise to other Microsoft 365 Copilot capabilities. The permission basis and external-action capability were not established from the public evidence reviewed.

Evidence