Sub topic 5
Having Copilot Explain Formulas and Sheets
This chapter assumes you can read cell references and common functions such as SUM, IF, and XLOOKUP. It also assumes your workbook is already prepared with tables, named ranges, and clear headers, and that you know how to write a specific prompt. Here you use Copilot to explain what a formula or a sheet does, and you learn how to tell a good explanation from a plausible but wrong one.
What an explanation is for
When you inherit a model, the slowest part of a review is working out what each formula is meant to do. Copilot can read a formula and describe it in plain language. That saves time, but the explanation is a claim about the workbook, not a fact. You still check it.
Copilot is most useful in three situations:
- You open a formula you did not write and need a quick reading of it.
- You need to understand how a whole sheet fits together before checking its details.
- You want a plain-language description to put in review notes, once you have confirmed it is correct.
A good explanation does four things. It states what the formula calculates. It names the cells and named ranges the formula uses. It says what business assumption each input stands for. It points out anything unusual, such as a hardcoded number inside the formula.
Explaining a single formula
Start with one cell. A prompt that names the cell, the sheet, and the output you want gives an answer you can check.
Explain the formula in cell D12 on the Income Statement sheet step by step. List the cells and named ranges it depends on, and say what business assumption each one represents.Suppose D12 on the Income Statement sheet holds this formula:
=D10*(1-TaxRate)A useful answer would say that D12 multiplies the value in D10 by one minus the named range TaxRate. It would also say that TaxRate is an assumption, probably on an Inputs sheet, and that the result is the pre-tax amount in D10 after tax. If D10 is pre-tax income, D12 is net income.
Check three things in the answer:
- The cells are right. Every cell and named range Copilot lists appears in the formula, and none are missing.
- The meaning is right. If Copilot says D10 is "operating profit" but the row label says "Earnings before tax", the label wins. Check the row and column headers yourself.
- Nothing is invented. If Copilot mentions a "tax shield" or a "minimum tax" that is nowhere in the formula, it added that from general knowledge, not from your workbook.
Reading the formula yourself
Use FORMULATEXT to see the formula as text in another cell. This lets you place it next to Copilot's explanation, or compare it with neighboring cells.
=FORMULATEXT(E10)If the explanation does not match the formula text, trust the formula text.
Explaining a longer formula
Nested formulas are where explanations drift. Consider a pricing lookup with a fallback:
=IFERROR(XLOOKUP(B5,Products[SKU],Products[Price]),0)*C5*(1-Discount)Ask Copilot to break it into steps, and ask for the order of evaluation:
Break the formula in E5 on the Revenue sheet into its parts. For each part, say what it returns and in what order Excel evaluates it. Flag any part that could hide an error.A strong answer separates the formula into pieces:
XLOOKUP(B5,Products[SKU],Products[Price])finds the price for the SKU in B5.IFERROR(..., 0)replaces a failed lookup with zero.*C5*(1-Discount)multiplies by quantity and applies the named discount.
The flag matters. IFERROR turns a missing SKU into a price of zero, so the row shows revenue of zero instead of an error. A reviewer should know that. If Copilot describes the formula without mentioning that risk, ask a follow-up: "What happens in this formula if the SKU is not found?" Then test it. Type a SKU that does not exist into B5 on a copy of the sheet and see what the cell shows.
Explaining a whole sheet
For a sheet-level view, ask Copilot for structure first and detail second. A broad request such as "explain this sheet" gives a vague answer. Break it into questions you can check:
Describe the Forecast sheet. List its sections by row range, say whether each section holds inputs, calculations, or outputs, and name the other sheets it pulls data from.Compare the answer with the real layout. You can confirm the links to other sheets by searching for the sheet name in formulas (Find, with "Look in: Formulas") and counting the hits.
Ask for the logic in the order the model calculates:
Walk through the Forecast sheet from top to bottom. For each section, say which cells feed it and which cells it feeds.The "which cells it feeds" part is where Copilot is weakest, because it requires reading dependents as well as precedents. The next chapter covers dependency tracing in detail. For now, treat any list of dependents as a lead to confirm.
A table of prompt styles
| Goal | Prompt pattern | What to check |
|---|---|---|
| One formula | "Explain D12 on Income Statement step by step" | Cells named match the formula |
| Nested formula | "Break E5 into parts and give the order of evaluation" | Each part against `FORMULATEXT` |
| Sheet structure | "List sections by row range and type" | Row ranges against the sheet |
| Pattern in a row | "Do D to H follow the same pattern?" | Cell addresses it returns |
| Business meaning | "What assumption does each input represent?" | Labels and notes on the Inputs sheet |
Checking for consistency across a row
Copilot can also explain by comparison. Ask whether a row follows one pattern, and make it return addresses.
Review the Revenue row on the Forecast sheet. Tell me whether the formulas in columns D to H follow the same pattern. If any cell differs, give its address and describe the difference.Each address Copilot returns can be checked by hand. To confirm a reported hardcode, count the cells in the range that hold typed values instead of formulas:
=SUMPRODUCT(--NOT(ISFORMULA(D10:H10)))A result of 0 means every cell in D10:H10 contains a formula. A result of 1 or more means at least one cell is a typed value. This check is independent of Copilot, which is the point. Error detection is covered fully in a later chapter. Here the aim is to use the same technique to test an explanation: if Copilot says "all five cells use the same formula", this count and FORMULATEXT can confirm or contradict it.
The explain-and-check loop
Work in a loop, not a single request. The diagram shows the cycle.
Excel's own tools do the checking. Trace Precedents (Formulas tab) draws arrows from the cells a formula uses. Evaluate Formula steps through a formula one calculation at a time, so you can see each intermediate value and compare it with Copilot's walk-through.
Common errors when using explanations
- Accepting a fluent answer. Copilot writes clearly even when it is wrong. A confident tone is not evidence.
- Vague prompts. "What does this do?" without a cell or sheet gives a generic answer. Name the cell, the sheet, and the output.
- Mistaking labels for logic. Copilot may describe a row by its label. A row labeled "Gross margin" can contain a formula that calculates something else. Read the formula.
- Missing named ranges. If a named range points to the wrong cells, the explanation of the formula can be correct and still describe the wrong number. Check the range in Name Manager.
- Hidden rows, columns, and sheets. Copilot may not mention content you cannot see. Unhide before you ask for a sheet summary.
- Explaining intent as fact. Copilot may say a formula "reflects the company's tax rate". It can only say what the formula does, not whether the assumption is right. Whether 25% is the correct rate is a judgment for you.
Explaining outputs against a known check
An explanation of a total should agree with the model's own integrity checks. If a balance sheet check cell exists, confirm it:
=ROUND(B20-(B30+B40),2)=0Here B20 is total assets, B30 is total liabilities, and B40 is total equity. It returns TRUE when the balance sheet balances to the cent. If Copilot's explanation of the balance sheet says "the sheet balances" while this cell returns FALSE, the explanation is wrong.
Do the same for valuation figures. If Copilot states a net present value, recalculate it. B2 is the discount rate, C10:G10 are cash flows for periods 1 to 5, and B10 is the period-0 outflow. The outflow is added outside NPV because NPV discounts its first value by one full period:
=NPV(B2,C10:G10)+B10If your result and Copilot's differ, the likely cause is that it treated the period-0 outflow as a period-1 cash flow.
Summary of the method
- Pick one cell, row, or section.
- Write a prompt that names it and says what output you want.
- Compare the answer with
FORMULATEXT, Trace Precedents, and Evaluate Formula. - Test edge cases, such as a missing lookup value or a zero in a divisor.
- Record only the claims you confirmed.
Exercise
Copilot explains =IFERROR(XLOOKUP(B5,Products[SKU],Products[Price]),0)*C5 as "multiplies the product price by the quantity in C5." What did the explanation leave out, and how would you test it?
Show answer
It left out that IFERROR returns 0 when the SKU is not found, so a missing product gives revenue of 0 instead of an error. To test it, copy the sheet, type a SKU that is not in Products[SKU] into B5, and check that the result is 0 with no error shown. Then ask Copilot what happens when the SKU is missing.
Exercise
Copilot says all formulas in D10:H10 follow the same pattern. Name two independent checks that could contradict it.
Show answer
Use =SUMPRODUCT(--NOT(ISFORMULA(D10:H10))); a result above 0 means at least one cell is a typed value. Also use =FORMULATEXT on each cell (for example =FORMULATEXT(E10)) and compare the text across D to H, or run Trace Precedents on each cell and compare the arrows.