DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
Redmond desk4 min

How to Analyze Excel Data with Copilot: Prompts, Python, and Checks

Use Copilot in Excel for summaries, trends, charts, PivotTables, and Python-based analysis—with practical prompts and checks for validating its answers.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To analyze data with Copilot, open Copilot in Excel, ask a focused question about your workbook, then check the answer against the source data before relying on it. For more involved calculations, Excel also offers Python-based analysis: use direct answers for a computed result or advanced analysis when you want editable, refreshable Python calculations on a new sheet.

Prepare your workbook and choose the right kind of analysis

Copilot’s data-analysis features described here are for Excel; they should not be assumed to work the same way in other Microsoft Copilot products. Start with a clear question and identify the relevant columns. For Python-based direct answers, organize the information as a table or table-like range: Microsoft says unstructured data is unsupported in that experience.

As an Amazon Associate I earn from qualifying purchases.

Choose a workflow based on the task and the result you need:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Excel workflow Best for What to expect
Ordinary Copilot insights Summaries, trends, outliers, formula help, lookups, or text-feedback summaries Ask about your workbook data; review the response and any suggested changes. Microsoft’s Copilot insights guide
Direct answers A computed answer, such as comparing periods or calculating statistics by group Uses Python-based analysis; may provide a summary, code, and static tables or charts to insert. It does not modify the workbook, and inserted results are not refreshable. Microsoft’s direct-answers guide
Advanced analysis A deeper investigation that you want to refine or customize Opens a new sheet and runs Python code that can be reviewed and modified as a refreshable Python cell. Microsoft’s direct-answers guide

Ask Copilot a specific question

Open the Copilot pane in Excel and describe the measure, grouping or comparison, and output you want. Naming the columns helps make the request less ambiguous. Microsoft’s examples include:

#1 Best Overall
Sale
Microsoft Surface Pro Keyboard with Pen Storage, Compatible with Copilot+ (11th Edition), Surface 9 and 8, Alcantara Material, Black
  • Instant Copilot. Unlock new possibilities with the dedicated Copilot key, which gives you instant access to experiences that can enhance your productivity¹.
  • Enhance your experience With the new microphone mute key and snipping key
  • Full keyboard experience. Features a full mechanical keyset, backlit keys, and a large trackpad for precise navigation and control. Optimal key spacing allows fast, fluid typing.
  • Slim and compact Performs like a traditional, full-size keyboard.
  • Clicks in place instantly Use in combination with the Surface Pro (11th Edition), Pro 9 and Pro 8* kickstand for a perfect laptop experience anywhere.
  • “Which region had the highest and lowest sales?”
  • “Are there any outliers or anomalies in this data?”
  • “Add a column that calculates the profit margin for each product.”
  • “Summarize sales by month and category.”

For formulas, Copilot can help create a formula column, provide a single-cell formula, explain a formula, or assist with lookups. It can also summarize text feedback; Microsoft says a superscript number in that analysis can be hovered over to see the source data referenced.

Request a chart, PivotTable, or sheet change

When you want to see patterns visually or group data, ask Copilot for a chart or PivotTable and specify the fields and aggregation. For example: “Create a PivotTable with the sum of sales, with month in rows and category in columns.” If the suggested PivotTable is not right, add detail to the prompt or regenerate it.

Rank #2
Microsoft 365 Personal | 12-Month Subscription | 1 Person | Premium Office Apps: Word, Excel, PowerPoint and more | 1TB Cloud Storage | Windows Laptop or MacBook Instant Download | Activation Required
  • Designed for Your Windows and Apple Devices | Install premium Office apps on your Windows laptop, desktop, MacBook or iMac. Works seamlessly across your devices for home, school, or personal productivity.
  • Includes Word, Excel, PowerPoint & Outlook | Get premium versions of the essential Office apps that help you work, study, create, and stay organized.
  • 1 TB Secure Cloud Storage | Store and access your documents, photos, and files from your Windows, Mac or mobile devices.
  • Premium Tools Across Your Devices | Your subscription lets you work across all of your Windows, Mac, iPhone, iPad, and Android devices with apps that sync instantly through the cloud.
  • Easy Digital Download with Microsoft Account | Product delivered electronically for quick setup. Sign in with your Microsoft account, redeem your code, and download your apps instantly to your Windows, Mac, iPhone, iPad, and Android devices.

For sorting, highlighting, or filtering, inspect the change Copilot describes and select Apply to make it in the worksheet. Microsoft’s instructions for these visual and sheet-change workflows are in Visualize your data with Copilot in Excel.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use Python for a computed answer or deeper analysis

Get a direct answer

Ask a question about a table or table-like range when you need a computation beyond a basic summary. Examples include “Compare Q1 and Q2 sales” and “What are the mean and median of revenue by region?” The response can include a direct answer, summary, and code block; Microsoft says it may also offer static tables or charts to insert. Those inserted results are snapshots rather than refreshable workbook calculations.

Rank #3
Microsoft Ergonomic Keyboard for Business - Wired - Black
  • Microsoft Natural Ergonomic Palm Rest Comfort Keyboard for Business - Wired
  • Exceptional comfort. Work all day, with reduced risk of fatigue and injury, on our Ergonomist-approved design.
  • Excellent support. Improved cushion and ergonomically tested palm rest covered in premium fabric provides all-day comfort and promotes a neutral wrist posture.
  • Be more productive with built-in shortcuts, including dedicated keys for office 365,* emojis, search, easy access to media controls, and more.
  • Designed to last wired for reliable speed and accuracy. Crunch numbers Fast, with a dedicated integrated pad. Compatibility: Microsoft Windows 10, Limited functionality Windows 8.1/7 (Office and Emoji keys have no function)

Open advanced analysis

Choose advanced analysis when you want to investigate a question in more depth and refine the method. Excel opens a new sheet and generates Python code. You can review and modify the code in a refreshable Python cell, then use follow-up prompts to refine the investigation. Leave advanced mode when you are finished.

Python in Excel runs in Microsoft’s cloud and requires an internet connection. Microsoft lists Excel for Windows, Excel for the web, and Excel for Mac as supported; Python is not available on iPad, iPhone, or Android. On unsupported platforms, Python cells display an error when recalculated. See Microsoft’s introduction to Python in Excel for platform and feature details.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Verify the result before using it

AI-generated analysis can be wrong or use an interpretation that does not match your business definitions. Microsoft advises users to review, edit, and verify Copilot’s output. For a result that matters, check the calculation and compare it with the underlying rows and the definitions used in the workbook.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Confirm Copilot used the intended columns, date range, units, and grouping.
  • Check whether blanks, duplicates, unusual values, or inconsistent labels affect the result.
  • If Copilot provides code, inspect it; you can also ask Copilot to summarize its logic before relying on it.
  • Recalculate a sample or independently compare the result with the source rows, especially for financial or operational decisions.

If Copilot or Python analysis is unavailable

Access depends on the account, organization settings, platform, and the relevant Microsoft 365 subscription or Python in Excel entitlement. Microsoft’s documentation describes qualifying subscriptions and a Python in Excel add-on with premium compute and additional calculation modes, but does not establish a complete current plan-by-plan entitlement matrix, regional rollout, or price for every Copilot workflow. Check your account and organization settings, and consult Microsoft’s current availability and licensing information before purchasing or troubleshooting access.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.