MSBA-112 · Lesson 3 of 12 · 19 min
Analyzing data in Excel
▶ Video coming soon A video version of this lesson is on the way.
Tomasz Rybak manages Quillfield's contact centre of about forty-five staff, and every Monday he spends an hour in a spreadsheet. The phone system exports a file of the previous week's calls: date, time, queue, agent, call length, wait time and a reason code chosen by the agent at the end of each call. Tomasz builds the same three things each week by hand: calls by queue, average wait by hour of the day, and the top reasons people called. When Hamish arrived for a desk session, Tomasz had a simple question: "Can Copilot do my Monday hour?" The answer was mostly yes, with one condition that turned out to matter more than any feature: the data had to be in good shape first.
How Copilot in Excel works today
In current versions of Excel for Microsoft 365 on Windows and Mac and in Excel for the web, you open Copilot from the Copilot icon, which Microsoft's support article places in the lower-right corner of the window. The pane has three modes, described in Microsoft's November 2026 support documentation:
| Mode | What Copilot does | When to use it |
|---|---|---|
| Edit (Allow editing) | Plans the steps, changes the workbook directly, shows its reasoning and checks the result against your request | Building formulas, tables, PivotTables, charts and reports where you want the work done in the file |
| Plan | Proposes an approach for you to review and confirm before any change is made | Complex tasks, shared workbooks, or when you want to approve the method first |
| Chat only | Answers questions and gives insights without changing the workbook | Exploring data, asking what a column means, getting explanations |
Microsoft describes the editing mode as the default when the pane opens, and the Stop button beside the chat input pauses Copilot at any point. This editing behaviour grew out of what Microsoft called Agent Mode in Excel, which rolled out to licensed users on the web in December 2025 and on desktop and Mac in January 2026. Support differs by device: Microsoft's table lists edit, chat and plan on Windows, Mac and the web, with editing still rolling out on iPad and iPhone and chat only on Android. Copilot can also bring in data from other workbooks saved in OneDrive, SharePoint or on your computer, and look up web information with citations when web content is allowed.
A note on the COPILOT function
From 2025, Microsoft previewed a worksheet function called COPILOT that sent a prompt and a range to the model from inside a cell, for tasks like classifying feedback text. It was a preview available through the Frontier and Microsoft 365 Insider programs, and Microsoft's support page states that starting September 14, 2026, the COPILOT function is no longer available in Excel. Existing results stay as cached values, but a cell that recalculates returns the #NAME? error, and the suggested replacement is the Copilot pane. If you meet a workbook built on the function, ask its owner to replace those cells with ordinary values or with a pane-based process before the results are needed again. Older training material, including some prepared for AB-730, may still mention the function; know that it existed and that it has been retired.
Getting the data ready
Before Tomasz typed a single prompt, Hamish looked at the export. It had a title row above the headers, two blank columns, merged cells in the header, and dates stored as text in a format that changed halfway down the sheet when the phone system was updated in September. A human can read that sheet. Copilot, like any analysis tool, works far better with clean, rectangular data.
Microsoft's guidance for Copilot in Excel has long recommended formatting data as an Excel table or a clearly bounded range with one header row and no blank rows or merged cells. Hamish's preparation checklist had five points: one header row with clear names, one row per record, no merged cells, consistent data types in each column, and no totals or notes inside the data. The irony was that Copilot itself could do most of the clean-up. Tomasz asked: "Delete the title row and the empty columns, unmerge the header, and convert the Call Date column to real dates." Copilot, in editing mode, made the changes and listed them in the pane. Tomasz checked the date conversion on rows from both sides of the September change, because that was where an error was most likely, and it was correct.
Asking questions about the data
With the data clean, Tomasz switched to chat mode and asked questions in the way he would ask an analyst: "Which queue had the most calls last week?" "What was the average wait in the claims queue between 9 and 10 a.m.?" "Are there agents whose average call length is much longer than the rest?" Copilot answered in the pane and offered to add the supporting table or chart to the workbook. Chat-only mode is the safe way to explore, because nothing in the file changes.
Good questions to Excel follow the same four-part logic as other prompts, but the most important part is precision about definitions. "Average wait" could include calls that were abandoned before anyone answered, or not. "Last week" could mean the last seven days or the calendar week. "Calls" could mean inbound only or include callbacks. When Tomasz asked for the average wait, Copilot's answer included abandoned calls; his weekly report had always excluded them. The numbers differed by almost forty seconds. Neither was wrong. They answered different questions, and only Tomasz knew which question the report was supposed to answer.
Worked problem
Pinning down a definition
Copilot reports an average wait of 2 minutes 46 seconds for the claims queue. Tomasz's manual figure for the same week was 2 minutes 8 seconds. What should he do?
Show solution
- Ask Copilot how it calculated the figure: "Which rows did you include in the average wait, and how did you treat abandoned calls?"
- Copilot explains that it averaged the Wait column for all rows in the claims queue, including 61 abandoned calls.
- Restate the definition: "Recalculate excluding rows where Outcome is Abandoned."
- Compare the new figure with the manual one and record the definition in the report notes.
Answer: The new figure matches his manual 2 minutes 8 seconds. The difference came from a definition, not an error, and writing the definition into the report stops the question coming back next month.
Formulas, tables and charts
In editing mode, Copilot can add formula columns (for example, a column that converts call length from seconds to minutes, or flags calls over ten minutes), build PivotTables and charts, apply conditional formatting to highlight values, and sort and filter. It shows the formula it used, and Microsoft's support articles describe Copilot explaining formulas in plain language. Tomasz asked for the three things he built every Monday. Copilot created a PivotTable of calls by queue, a line chart of average wait by hour, and a table of the ten most common reason codes, on a new sheet called Weekly summary, in under two minutes.
Hamish asked Tomasz to do one thing before he trusted any of it: check one number in each output against the raw data by a method he controlled. For the PivotTable he filtered the data by the general queue and looked at the count in the status bar. For the chart he picked one hour and checked its average with a simple AVERAGEIFS formula he wrote himself. For the reason codes he sorted the column and counted the top code by eye. All three matched. That took six minutes, and it was the six minutes that made the other fifty-four minutes of saved time safe to use.
From numbers to insight
A chart is not an insight. An insight is a statement that someone can act on: "Average wait peaks at 10 a.m., when claims and renewals queues overlap; two of the five agents scheduled for a 10 a.m. break could move their break to 11." Copilot can suggest insights, and in chat mode you can ask "What stands out in this data?" or "What might explain the 10 a.m. peak?" Treat the answers as hypotheses. Copilot can see the numbers in the sheet; it cannot see that a large client sent renewal notices on Tuesday, or that two agents were in training. Tomasz knew both.
The AB-730 skill area talks about producing insights and moving them into other apps, and lesson 11 covers that in more detail. For Tomasz the move was simple: he asked Copilot in chat mode for three sentences summarizing the week for his manager, pasted them into his Monday email with the chart, and added the sentence about the break schedule himself.
When to use the Analyst agent instead
MSBA-111 introduced the Analyst agent, which Microsoft describes as consolidating data, running statistics, finding trends and outliers, and producing charts and tables, working with Excel files, CSV files and other sources you attach. Copilot in Excel works inside one workbook and changes it; Analyst works from Copilot Chat on one or more files and reports back. The practical division at Quillfield was this: if the result belongs in the workbook and will be reused every week, use Copilot in Excel; if the question spans several exports, such as twelve monthly files, or needs heavier statistics, start with Analyst and bring the results into Excel afterward.
Data protection in Excel
Spreadsheets often hold the most sensitive data in a business: client lists, premiums, claims, salaries. Copilot respects the file's permissions and sensitivity label, and it works only with workbooks the user can open. That protects against unauthorized access but not against careless sharing. If Copilot builds a summary sheet with client names and claim amounts, that sheet is now in a file that may be shared more widely than the raw export was. Tomasz's contact centre file had agent names and call lengths, which are personal information about employees. Wendell's advice was to keep performance comparisons of named individuals in a restricted file and share only queue-level results more widely.
How AB-730 tests this
Expect questions about choosing the right approach to a data task, recognizing when data needs to be cleaned or structured before analysis, understanding that Copilot can explain and create formulas, charts and PivotTables, and knowing that its results should be checked. Questions may ask which mode prevents changes to the workbook (chat only) or lets you approve steps first (plan). If a question mentions the COPILOT function, remember that Microsoft retired it on September 14, 2026.
Writing prompts for spreadsheets
Hamish gave Tomasz a short list of prompt patterns that worked well in Excel, all of which put the definition or the condition in the prompt rather than leaving it to Copilot.
| Goal | Prompt pattern |
|---|---|
| Count with a condition | How many calls in the claims queue lasted more than 10 minutes, excluding abandoned calls? |
| Compare groups | Compare average call length by queue for last week and the week before, as a table |
| Add a calculated column | Add a column called Wait (min) that converts Wait (sec) to minutes, rounded to one decimal |
| Highlight exceptions | Highlight rows where wait time is more than twice the queue average |
| Explain a formula | Explain in plain words what the formula in cell H2 does |
The last pattern is underrated. Many workbooks in an organization contain formulas written by someone who has since left, and asking Copilot to explain them, in chat mode so nothing changes, is a fast way to understand a spreadsheet you have inherited. Tomasz used it on a staffing model his predecessor had built and discovered that one column assumed every agent worked eight hours a day, which had not been true since the centre introduced part-time shifts.
Repeating the analysis every week
Tomasz's real goal was not a single good Monday but a repeatable one. Hamish suggested two ways to make the work repeatable. The first was to keep the clean-up and summary steps as a saved prompt, with the definitions written in, so each Monday he could open the new export and run the same request. The second was to ask Copilot, once the summary sheet worked, to describe the steps it had taken, and to save that description in the workbook's notes, so anyone covering for Tomasz could follow the same method. A repeatable analysis is also a checkable one: if this week's figure looks strange, you can see exactly how it was produced.
Common mistakes
MistakeAsking Copilot to analyze an export with title rows, merged cells and mixed date formats.
InsteadClean the data into one header row and one record per row first; Copilot can help.
MistakeAccepting an average without asking how it was calculated.
InsteadAsk which rows were included and state your definition explicitly.
MistakeTreating Copilot's explanation of a trend as fact.
InsteadTreat suggested explanations as hypotheses and test them with what you know.
MistakeUsing editing mode on a shared workbook without reviewing the plan.
InsteadUse plan mode, or chat mode to explore, when others depend on the file.
Summary and key terms
- Copilot in Excel has three modes: edit (changes the workbook), plan (you approve first) and chat only (no changes).
- The COPILOT worksheet function was a preview and was retired on September 14, 2026.
- Clean, rectangular data with one header row and consistent column types gives the best results.
- Definitions decide what a number means; state them, and record them in the report.
- Check one value in every output by a method you control before relying on it.
- Excel table
- A formatted range with a header row that Excel treats as a single structured data set.
- Plan mode
- A Copilot mode in Excel that proposes steps for your approval before changing the workbook.
- Chat only mode
- A Copilot mode in Excel that answers questions without modifying the workbook.
- PivotTable
- An Excel feature that summarizes data by grouping and aggregating rows.
- Insight
- A statement drawn from data that someone can act on.
- COPILOT function
- A preview worksheet function that called Copilot from a cell; retired in September 2026.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which Excel Copilot mode should you use to explore data without changing the file?
Show answer
Chat only.
Why did Copilot's average wait differ from Tomasz's?
Show answer
Copilot included abandoned calls; his definition excluded them.
What happens to a cell that used the COPILOT function when it recalculates after September 14, 2026?
Show answer
It returns the #NAME? error; only cached values remain until then.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.