Preview: Excel COPILOT() Function and Formula Completion in Action

Live Stream on M365 Copilot Function and Formula Completion in Excel. Registration is NOT required. Just join at noon ET on 03/18/2026

Preview: Excel COPILOT() Function and Formula Completion in Action
Live Stream on M365 Copilot on March 18, 2026.

Two of the most exciting features coming to Microsoft Excel with Copilot are the COPILOT() function and Formula Completion. Both are rolling out soon, and they will change how you build formulas and extract information from your spreadsheets. Here is a quick preview of what each one can do. I will cover these in detail on my LIVE session this Wednesday:

Watch on YouTube | Watch on LinkedIn

Excel Just Got a Brain: Copilot Function & Formula Completion - Live Stream
Live Stream on YouTube and LinkedIn - March 18, 2026

The COPILOT() Function

The COPILOT() function is a brand-new Excel function that lets you ask Copilot a question directly inside a cell. You type =COPILOT("your prompt", cell_reference) and Excel returns an AI-generated answer right in the cell.

Example 1: Look Up Company Headquarters

Imagine you receive a spreadsheet with a list of major companies — Alphabet, Amazon, AT&T, Bank of America, and so on — but no headquarters information. Instead of looking up each one manually, you can use the COPILOT() function.

Typing the COPILOT function in Excel
Start by typing =COPILOT(" in a cell. Notice the syntax tooltip showing the function signature.

In this example, I typed =COPILOT("Give me the HQ headquarters for these companies", E2:E21) and pressed Enter. Excel returned the headquarters for every company in the list — Mountain View for Alphabet, Seattle for Amazon, Dallas for AT&T, and so on.

COPILOT function results showing headquarters for each company
The COPILOT() function returns headquarters for every company in the list.

To verify it updates dynamically, I changed "Amazon" to "Delta Air Lines" in cell E3. After a moment, the headquarters updated to Atlanta, Georgia. Notice the AI-generated badge that appears next to the result — Excel clearly labels these as AI-produced values.

Delta Air Lines updated to Atlanta Georgia with AI-generated badge
After changing Amazon to Delta Air Lines, the result updates automatically to Atlanta, Georgia.

Example 2: Extract Department Names from Sentences

Here is a more practical scenario. You have a spreadsheet of employees where column C contains full sentences like "Works in HR" or "Assigned to Accounting last month" instead of clean department names. You need to extract just the department.

COPILOT function formula to extract departments from sentence text
The formula =COPILOT("pull out the department from this list", C2:C25) extracts department names from descriptive sentences.

I created a new column called "Department Two" (always use a unique header — never duplicate an existing one). Then I entered =COPILOT("pull out the department from this list", C2:C25). Copilot correctly extracted HR, Accounting, Marketing, and every other department from those sentence descriptions.

Clean employee table with departments correctly extracted by Copilot
All department names extracted cleanly from the sentence descriptions.

Important: Always check the results when Copilot gives you an answer. It is a huge time saver, but you should verify the output is correct.

Formula Completion

Formula Completion is a separate feature that predicts what formula you want based on your column headers and data context. You just type the equals sign (=) and Excel suggests the entire formula. No prompt needed — it reads your headers and figures out what you are trying to calculate.

Example 1: Salary Dollar Difference

I have a table with employee names, departments, Current Salary, New Salary, and Bonus columns. I want to calculate the salary difference. I added a new column header: "Salary Dollar Difference."

Formula Completion suggesting salary difference formula with named ranges
After typing just the equals sign, Formula Completion suggests =[@[New Salary]]-[@[Current Salary]] and shows a preview.

All I did was type = in the first cell. Formula Completion immediately suggested =[@[New Salary]]-[@[Current Salary]]. Because the data is in an Excel table, it used structured references (named ranges). I pressed Enter, and the calculated column filled in for every row automatically.

Salary Dollar Difference column filled with correct calculations
The entire Salary Dollar Difference column filled in automatically after pressing Enter.

Notice it correctly chose New Salary minus Current Salary — not the other way around, and not including the Bonus column. The header name mattered: "Salary Dollar Difference" gave Excel enough context to pick the right columns.

Example 2: Income Statement Percentages

For a more advanced example, I used a fictitious income statement for Blue Horizon Consulting LLC, with Revenue of $1,250,000, Cost of Goods Sold of $475,000, Gross Profit of $775,000, and various operating expenses.

Fictitious income statement in Excel showing 2025 and 2024 data
A fictitious income statement with 2025 and 2024 financial data. Blue-highlighted cells contain formulas.

I typed "Gross Profit Percentage" as a label, then typed = in the cell next to it. Formula Completion suggested =B8/B6 — which is Gross Profit divided by Revenue. The tooltip confirmed it: "B8/B6 = 0.62 — Calculate gross profit percentage for 2025." It even picked the correct year without me specifying it.

Formula Completion suggesting B8 divided by B6 for gross profit percentage
Formula Completion suggests =B8/B6 and confirms it calculates to 0.62 (62% gross profit margin).

I then added "Net Income Percentage" and "Operating Income Percentage" labels. For each one, I just typed = and Formula Completion nailed the correct formula:

  • Net Income Percentage: =B26/B6 (Net Income ÷ Revenue = 0.159)
  • Operating Income Percentage: =B19/B6 (Operating Income ÷ Revenue = 0.198)
All three financial percentages calculated using Formula Completion
All three financial ratios calculated by Formula Completion: gross profit (0.62), net income (0.159), and operating income (0.198).

Key Takeaways

  • The COPILOT() function lets you query AI directly inside a cell using =COPILOT("prompt", cell_range). It is excellent for lookups, data extraction, and transforming messy text into clean values.
  • Formula Completion predicts your intended formula based on column headers and context. Just type = and accept the suggestion. Be specific with your header names — the more descriptive they are, the better the suggestions.
  • Both features are rolling out to Excel users soon. Always verify AI-generated results before relying on them for critical work.

Want to learn more? Visit courses.chrismenardtraining.com for online training courses.

Excel Just Got a Brain: Copilot Function & Formula Completion - Live Stream
Live Stream on YouTube and LinkedIn - March 18, 2026
How Excel Copilot Writes Complex XLOOKUP Formulas Automatically
Excel's Copilot formula completion feature can write complex XLOOKUP formulas for you. Instead of memorizing syntax and figuring out the arguments, you describe what you want in plain English and Copi
How to Use the COPILOT() Function in Excel: AI-Powered Formulas
Excel now has a built-in COPILOT function that accepts natural language prompts directly in cells. Instead of writing complex formulas, you type a plain English instruction, and Copilot returns AI-gen
Excel Formula Completion - Using XLOOKUP
I tested how well Excel's formula completion with Copilot handles a multi-step calculation that would normally require a nested function. The goal was simple: calculate profit by subtracting the total
Excel Copilot Formula Completion Now Available on Desktop
Excel's Copilot-powered Formula Completion is now available on the desktop app — not just Excel for the Web. Type an equals sign, and Excel suggests complete formulas based on your data context. Here