Sub topic 12
Protecting Sensitive Model Data
This chapter assumes you can open a model and read its structure (inputs, calculations, outputs). It also assumes you have used Copilot in Excel for basic prompts. No security background is needed. By the end you should be able to decide whether a model may go to Copilot, reduce what it can see, and record that decision.
Why a review raises data questions
A financial model often holds more than numbers. It can contain unreleased results, acquisition prices, salary tables, customer names, bank covenants, and comments such as "CFO wants this hidden until the board meets". A Copilot review reads the workbook content to answer you. The question is not only "is Copilot accurate?" but "who is allowed to see this content, and by what route does it travel?"
Two facts shape the answer:
- Copilot in Excel works inside your Microsoft 365 tenant, your organization's Microsoft 365 environment. Microsoft documents that it uses the permissions of the signed-in user and that prompts and responses in Microsoft 365 Copilot are not used to train the underlying foundation models. Check Microsoft's current documentation for the exact wording, because terms and features change.
- Your organization can still set stricter rules than the product default. These rules may cover which labels, locations, or users are allowed to use Copilot.
Your own policy and your administrator's configuration decide what you may do. Product documentation does not.
The working model: what moves where
When you ask Copilot a question about a model, several things are involved. Knowing each one tells you where a control can apply.
| Element | What it is | Control that applies |
|---|---|---|
| The file | The workbook, stored in OneDrive or SharePoint | Folder permissions, sharing links |
| The content Copilot reads | Cells, tables, names, and other workbook content | What you leave in the file |
| Your prompt | Text you type, including any numbers or names | Your own prompt habits |
| Copilot's answer | Text and sometimes new cells or sheets | Where you paste or save it |
| Labels and policies | Sensitivity labels, data loss prevention (DLP) rules | Set by your administrator |
A sensitivity label is a tag such as "Confidential" that can also enforce encryption and sharing limits. DLP is a set of rules that detect and restrict certain content. Depending on how your tenant is configured, a label or policy may block Copilot from working on a file, or may allow it. Ask your administrator rather than guessing.
Step 1: Classify before you open Copilot
Classify the model first. Use your organization's scheme if it has one. If it does not, a simple three-level scheme works for review purposes:
- Routine: internal planning models with no deal, personal, or market-moving data.
- Sensitive: unreleased financial results, pricing, compensation, or lender terms.
- Restricted: material non-public information, M&A targets, or personal data covered by privacy law.
Then act on the level:
- Routine models can go to Copilot in the original file if policy permits.
- Sensitive models should be reviewed in a minimized or masked copy unless your policy explicitly allows the original.
- Restricted models need written approval from the data owner or compliance before any AI-assisted review.
Step 2: Check where the file lives and who can open it
Copilot in Excel generally needs the workbook stored in OneDrive or SharePoint, so the file's sharing settings matter. Copilot works with the access of the person using it. That is a benefit, because it does not widen access. It also carries a risk: if the file is shared too broadly, Copilot can surface its content to anyone who can open it.
Check these before a review:
- The sharing link type. "Anyone with the link" is rarely right for a financial model.
- Whether the folder includes people who should not see the model's content.
- Whether the file carries a sensitivity label, and what that label allows.
- Whether you are working in a shared review file or a personal copy. Prefer a copy with a clear name and limited access.
Step 3: Minimize what the workbook exposes
Copilot can read content that you consider hidden. Do not assume a hidden sheet, a hidden row, or a comment is out of reach. Before the review, inspect the workbook for content that is not needed.
Common places for sensitive content in a model:
- Hidden or very hidden sheets, such as an old "Bridge" or "Comp" sheet.
- Comments and notes, which often contain negotiation remarks.
- Named ranges with revealing names, such as
Target_Purchase_Price. - External links to other workbooks, which expose file paths and names. Find them under Data > Queries & Connections or Data > Edit Links.
- Document properties such as author names and file paths. Use File > Info > Check for Issues > Inspect Document to find and remove them.
- Personal data in input tables, such as employee names next to salaries.
Remove what the review does not need. If the review is only about the revenue logic, the payroll detail sheet does not have to be in the file.
Step 4: Build a masked copy when the content is sensitive
A masked copy keeps the model's structure and logic but changes the values that matter. Copilot can then explain formulas, flag inconsistencies, and trace flow without seeing real figures.
A simple method is to scale inputs by a factor that you keep outside the file. The formulas, ratios, and structure stay the same, so the logic review is still valid. This example assumes the real input sits on a sheet named Real_Inputs in your private working file, and the masked copy is built from it:
=ROUND(Real_Inputs!C5*Mask_Factor, 0)Here Mask_Factor is a named cell, for example 0.37, that exists only in your private file. Paste the results as values into the copy you will share. Then delete the Real_Inputs sheet and the factor from the copy.
Masking has limits:
- Growth rates, margins, and ratios do not change under uniform scaling. If those are the sensitive items, change them separately.
- Scaling every input by the same factor keeps relative sizes, which can still reveal the business. Use it for internal review, not as strong anonymization.
- Replace names of customers, counterparties, and employees with codes such as
Customer_A. - After masking, check that the copy still balances. Use the integrity check from earlier chapters,
=ROUND(B20-(B30+B40),2)=0, to confirm the structure survived. If it fails, the masking broke a link and the review would be misleading.
Step 5: Keep prompts clean
Your prompt is also data. The earlier chapters taught you to name cells, sheets, and outputs. That does not require you to paste secrets into the prompt.
A prompt that exposes more than it needs:
Explain why the 42.5 million acquisition price for Northwind in cell D12 gives an IRR of 31 percent, and whether the lender at Contoso Bank will accept it.A prompt that gets the same review value:
Explain the formula in cell D12 on the Returns sheet step by step. List the cells and named ranges it depends on, and say what business assumption each one represents.The second prompt asks about structure. It leaves out the counterparty, the price, and the lender's likely decision. Copilot does not need them to explain a formula.
Step 6: Handle the output
Copilot's answers can contain the same sensitive details as the workbook. Treat an answer with the same care as the source.
- Do not paste answers into email, chat, or tickets with a wider audience than the model has.
- If Copilot adds a sheet or new cells to the workbook, review them before sharing the file. Remove generated content you do not want to keep.
- Store review notes in the same restricted location as the model.
Common errors
- Assuming hidden means protected. Hidden sheets are part of the file. Inspect them and remove what is not needed.
- Reviewing the original because it is faster. The masked copy takes minutes to make. A disclosure incident takes far longer to resolve.
- Trusting the tool's boundary and skipping the policy check. Microsoft's data handling commitments do not replace your organization's rules on who may process which data.
- Leaving the masked copy's key inside it. A visible
Mask_Factorcell or a leftoverReal_Inputssheet undoes the masking. - Sharing broadly for convenience. An "Anyone with the link" share on a review file exposes more than Copilot ever would.
- Forgetting version copies. Old copies of the model in the same folder may be unlabeled and unmasked.
Record the decision
End each review setup with a short note stored beside the findings. Four items are enough:
- The classification level and who approved Copilot use, if approval was needed.
- Whether the review used the original or a masked copy, and how masking was done.
- Content removed from the file, such as hidden sheets or external links.
- The location and access list of the review file.
A reader can then see not only what you found but also what Copilot was allowed to see. The next chapters on documentation and the end-to-end workflow build on this note.
Exercise
You must review a lender covenant model that contains the real acquisition price on an Inputs sheet and a hidden sheet named "Bid_Notes". Your policy classifies it as Sensitive. Describe the steps you take before asking Copilot to explain the leverage calculation, and say what limits the result.
Show answer
Check that your policy allows Copilot for this label, then build a masked copy. In the copy, delete "Bid_Notes", remove comments, external links, and revealing names, and scale or replace the acquisition price and counterparty names. Confirm the copy still balances with =ROUND(B20-(B30+B40),2)=0. Store it in a restricted location and prompt about cells and logic without quoting prices or names. The limit is that magnitudes in the masked copy are not real, so Copilot's comments on size apply to the copy only. Check real values yourself against the original.
Exercise
A colleague says it is safe to leave the Payroll sheet in a model sent to Copilot because the sheet is hidden. What is wrong with this reasoning, and what should the colleague do instead?
Show answer
A hidden sheet is still part of the workbook, so it is not out of reach and still counts as content in the file. The colleague should check whether the review needs the sheet. If it does not, remove it from the review copy. If it does, mask the personal data, for example by replacing names with codes. They should also confirm file permissions and the label policy before starting.