Copilot in Excel: AI formulas, data cleaning, and dashboards

  • Thread Author
Microsoft’s Copilot has moved well beyond chatty sidebar suggestions and is now a full-fledged productivity engine inside Excel, capable of writing formulas in plain English, importing and cleaning data, building dashboards, running Python analysis in the cloud, and even planning and executing multi-step workbook workflows — all while producing native Excel artifacts you can inspect and edit.

Overview​

Copilot’s expansion into Excel is not a simple plugin; it’s a layered platform that mixes conversational AI, on-grid assistance, automated ETL (Power Query) flows, cloud-hosted Python execution, and an “Agent Mode” that plans and executes multistep tasks. Microsoft’s design intentionally produces editable Excel objects — formulas, PivotTables, charts, Power Query steps, and spilled arrays — rather than opaque outputs stored only outside the workbook. That choice preserves auditability but does not eliminate the need for human review.
This feature set both lowers the barrier to complex spreadsheet work for casual users and raises governance questions for teams that must control data access, accuracy, and change management. Below I break down the most useful practical actions Copilot can perform in Excel — the “11 cool things” readers will actually use — and give a candid assessment of strengths, limits, and recommended guardrails. Several of these behaviors are rolling out across Excel for the web and desktop, and availability depends on license, tenant settings, and whether a workbook is stored in OneDrive or SharePoint.

How to get Copilot in Excel (brief)​

  • Copilot is available in Excel for the web and in desktop builds for Windows and Mac, depending on your Microsoft 365 plan and rollout channel. Many advanced features require a Copilot-eligible Microsoft 365 license or preview program enrollment.
  • Several capabilities require cloud-saved workbooks (OneDrive or SharePoint) and AutoSave turned on so Copilot can perform live edits and use version history.
  • Some features are rolling out first to Insider/Frontier/Beta channels (Agent Mode and certain import features), while others appear in production for Copilot-licensed users in stages. Always check entitlement and tenant policies before expecting universal access.

11 practical things Copilot can do in Excel​

1. Generate working formulas from plain English (on-grid formula composer)​

Ask for a calculation — “total profit for Q4” or “unique list of sales reps” — and Copilot will propose a working Excel formula, show a plain-English explanation of each part, and preview the computed results in the grid before you accept it. The on-grid formula composer is spill-aware and supports single-cell and array formulas, which reduces syntax friction for non-experts. Treat the preview as a test-run: inspect ranges, anchoring, and performance implications before committing.
Strength: Removes the most common barrier in Excel — translating intent into correct syntax — and doubles as a learning aid.
Caveat: Generated formulas can be complex or use volatile constructs; always validate with test inputs.

2. Use the COPILOT() worksheet function from inside formulas​

Microsoft introduced a native worksheet function, COPILOT(), that lets you call Copilot directly from cells, for example, =COPILOT("Classify feedback", D418). The function can accept ranges and return arrays that interoperate with standard functions, enabling hybrid formulas that mix Copilot inference with native Excel logic. Note: early releases may include limits or beta restrictions on returned array sizes and supported datatypes.
Strength: Embeds AI reasoning in a reproducible, cell-based form that can be versioned and audited.
Caveat: Performance, quota limits, and reproducibility depend on tenant licensing and cloud execution; treat COPILOT() outputs as derived artifacts requiring testing.

3. Clean messy data with guided Power Query generation​

Data cleanup — normalizing dates, splitting columns, standardizing text, and removing duplicates — is where Excel users spend most of their time. Copilot can generate Power Query steps or helper formulas to perform these transformations, and it will often present a transform script you can preview and run. Because Power Query steps are refreshable, Copilot’s generated pipelines can become durable ETL assets.
Strength: Accelerates ETL, reduces manual copy/paste errors, and produces refreshable pipelines.
Caveat: Always run transformations on a copy first and review each step — Copilot may infer transformations incorrectly if headers are ambiguous.

4. Create charts and assemble one‑page dashboards automatically​

Tell Copilot to “create a one-page sales dashboard with monthly trend, top 5 SKUs, and a KPI card,” and it will create a new sheet with charts, KPI visuals, labels, and formatted tables. These visuals are native Excel objects, so you can edit axes, labels, and series after generation. Copilot often recommends chart types (line for trends, bar for rank, KPI card for totals) and will respond to follow-ups like “show percentage labels” or “sort by gross margin.”
Strength: Fast report prototyping that yields editable, presentation-ready artifacts.
Caveat: Visual storytelling choices (axis scaling, labeling) still need human review for accuracy and clarity.

5. Orchestrate multi‑step workflows with Agent Mode​

Agent Mode treats a natural-language brief as a project: it plans steps (create sheets, name ranges, insert formulas, build pivots and charts), executes them inside the workbook, runs validation checks, and iterates with user feedback. Agent Mode surfaces its plan for auditability and leaves standard Excel objects in the workbook so results are inspectable. Desktop Agent Mode has been expanded to include integrated web search and model choice in recent releases. Availability and behavior vary by preview program and licensing.
Strength: Automates repeatable, multi-step reporting tasks and reduces context switches.
Caveat: Because Agent Mode can perform many edits, enforce versioning and review steps, and restrict which users can run agents in sensitive workbooks.

6. Run Python in Excel (cloud-hosted) and spill results back into the grid​

Copilot can generate Python code (Pandas, Matplotlib, Seaborn) and execute it in Microsoft’s cloud containers, returning tables and visuals directly into the workbook without requiring a local Python install. This opens advanced analysis like cohorting, time-series, or custom visualizations that are awkward in formulas. Premium compute tiers are available for heavier workloads.
Strength: Democratizes data science workflows inside Excel and reduces tool switching.
Caveat: Cloud execution means data leaves the local machine — organizations must verify compliance with data residency and governance policies.

7. Import tables from Word, PowerPoint, PDFs, and the web​

Copilot can locate and extract tabular or structured data from other documents stored in OneDrive/SharePoint and from permitted web sources, and it will present candidate tables for import. When possible, Copilot creates refreshable links back to the source (Power Query-style) so imports aren’t one-off copies. This is particularly useful when your organization distributes reports as PDFs or slide decks.
Strength: Eliminates tedious copy/paste across formats and makes periodic refreshes possible.
Caveat: Accuracy depends on original document structure (scanned PDFs may be error-prone) and tenant policies controlling web access.

8. Explain and refactor existing formulas​

Beyond creating new formulas, Copilot can explain complex expressions token-by-token and propose refactors — for example, convert nested INDEX/MATCH into XLOOKUP or add helper columns for performance. Use this as a learning tool: insert suggestions into a scratch column, inspect the explanation, then adopt or rewrite manually once you understand the change.
Strength: Makes legacy spreadsheets more accessible to new team members and reduces technical debt.
Caveat: Refactors are suggestions; confirm that edge cases and absolute/relative references behave as intended.

9. Validate outputs and surface reconciliation checks​

Copilot’s Agent Mode and guided flows include validation checks and reconciliation sheets that compare generated results with source data or previous versions. That validation loop — plan, act, validate, iterate — is built to reduce silent errors and provide traceability of changes. Many of these checks require cloud-saved files and AutoSave.
Strength: Improves trustworthiness of generated artifacts when used correctly.
Caveat: Validation isn’t a substitute for domain expertise; built-in checks may miss context-specific errors or misinterpretations.

10. Integrated UX: Copilot buttons, on-cell sparkles, and inline suggestions​

Microsoft has added faster entry points — a Copilot button in the ribbon, a sparkle beside selected cells, and inline suggestions as you type — so you can invoke Copilot without leaving the sheet. These UX affordances shorten the path from intent to artifact and make the assistant feel like a natural extension of Excel rather than an external tool.
Strength: Reduces friction and context-switching; makes AI assistance discoverable.
Caveat: Frequent inline suggestions can encourage click-accept behavior; trainers should model careful review.

11. Accelerate scenario modeling, trend analysis, and what‑if studies​

Copilot can set up scenario worksheets, run Goal Seek or Data Table setups, and create parameterized dashboards that let you test “what-if” business questions quickly. For advanced scenarios it can use Python to run simulations and return summarized results, enabling faster decision-support workflows.
Strength: Shortens iterative modeling cycles and helps non-experts explore business impacts.
Caveat: Models reflect assumptions Copilot infers from labels and data patterns — always document assumptions and sanity-check outputs.

Practical examples and step-by-step flows​

Example: From messy export to a one‑page dashboard (three-step flow)​

  • Ask Copilot to clean the exported CSV and convert it into a table (Power Query steps suggested and previewed).
  • Request a one-page dashboard: “monthly trend, top 5 products, KPI for total revenue.” Copilot creates sheets, charts, and KPI cards.
  • If needed, ask Agent Mode to add a scenario: “show impact of 5% price increase on product A and B.” Copilot inserts helper columns and creates a comparative chart.
This flow replaces hours of manual edits with conversational prompts, but each generated artifact should be spot-checked before distribution.

Example: Teach-by-doing with formulas​

  • Type = in a target cell, choose “Ask Copilot for a formula,” and enter “quarterly totals from Date and Sales columns.” Copilot proposes a formula, previews the spill range, and explains each token. Accept into a scratch column, inspect results, then apply to production.

Strengths — why Copilot matters for Excel users​

  • Massive time savings on repetitive, formulaic, and ETL tasks. Copilot automates the rote work most analysts dislike.
  • Lower learning curve for casual users who know the business question but not the Excel idiom needed to answer it. On-grid previews and token explanations double as micro-training.
  • Editable, auditable artifacts. By producing native Excel objects rather than opaque blobs, Copilot preserves inspectability and the ability to refine outputs manually.
  • Democratized analysis. Cloud-hosted Python and integrated imports let smaller teams access advanced analysis workflows without separate infrastructure.

Risks and limitations — what to watch for​

  • Accuracy and hallucinations. Like any generative model, Copilot can make incorrect inferences, misuse units, or return plausible-sounding but wrong formulas. Always validate outputs.
  • Data governance and privacy. Cloud execution, web search, and cross-file ingestion mean data may leave local machines. Organizations must review compliance and tenant settings.
  • Licensing and cost. Several advanced capabilities (Agent Mode, high‑compute Python) are gated by Copilot-eligible subscriptions or premium compute tiers. Plan licensing accordingly for teams.
  • Over‑reliance and auditability gaps. The convenience of one-click edits can encourage “accept first, review later.” Use version history, require review steps for production workbooks, and log Copilot actions where possible.
  • Complex artifact maintenance. Copilot can produce deep formula nesting or multi-sheet dependency graphs that are hard to maintain. Consider refactoring generated artifacts into simpler, documented constructs for long-term use.

Governance checklist for teams​

  • Convert production ranges to structured Excel Tables to improve Copilot’s range detection.
  • Require cloud-saved files (OneDrive/SharePoint) and AutoSave for Copilot edits; enforce versioning policies.
  • Establish review gates for agent-run edits: designate reviewers and require a human sign-off before distribution.
  • Audit tenant policies for web search and external data ingestion; disable web search in Copilot where external lookups are not permitted.
  • Train analysts to treat Copilot outputs as drafts — use scratch columns and test cases before replacing production logic.

When Copilot is the right tool — and when it isn’t​

Copilot is ideal for:
  • Rapid prototyping and report scaffolding.
  • Cleaning and onboarding messy exports into structured tables.
  • Creating repeatable ETL flows and refreshable imports from organizational documents.
Copilot is not a replacement for:
  • Domain-driven validations and regulatory compliance checks. Human oversight remains essential for high-stakes decisions.
  • Long-term refactored analytics where maintainability and performance are primary concerns; generated solutions often require manual hardening.

Final verdict and practical next steps​

Microsoft’s Copilot for Excel is a pragmatic leap forward: it reduces friction, accelerates routine work, and brings advanced analysis tools to a broader user base. The key design win is that outputs are native Excel artifacts — formulas, tables, pivots, and charts — so human teams retain control and can audit changes. That said, the arrival of Agent Mode, cloud Python, and cross-document imports increases responsibility for IT and analytics leaders to set governance, training, and licensing guardrails.
Practical next steps you can take today:
  • Verify your Copilot entitlement and decide whether to test features in an Insider/Frontier preview or in production.
  • Run a pilot on non-sensitive datasets: experiment with on-grid formula generation, Power Query automation, and one-page dashboards. Measure time saved and error rates.
  • Build review and sign-off processes: require a human reviewer on agent-created workbooks and enable version history snapshots before agent runs.
  • Update tenant settings and data policies to control web search, external imports, and cloud execution scope.
Copilot in Excel fundamentally changes how spreadsheet work is created and managed: it offers strong productivity upside, but that upside comes with governance and accuracy responsibilities. Applied carefully, Copilot can be the assistant that gets you out of grunt work and back to analysis — provided teams treat AI-generated artifacts as first drafts, not final authority.

In short: if you work with data in Excel, learn to use Copilot as a co‑pilot — leverage its speed, verify its outputs, and lock down governance so the convenience doesn’t become a hidden liability.

Source: Computerworld 11 cool things Copilot can do in Excel