Excel Formula Completion with IF Functions: Commissions, Grades, and Copilot

I test Excel Formula Completion on real IF functions - a commission formula with absolute references and a nested IF for letter grades. Here's how Copilot did.

Share
Excel Formula Completion with IF Functions: Commissions, Grades, and Copilot

Formula Completion is one of my favorite features in Microsoft Excel. You press the equal sign, describe nothing, and Excel writes the whole formula for you. I use it constantly. It does need a paid Microsoft 365 Copilot license, and it has only been around a few months, so I wanted to push it harder than usual.

The thing I had never asked it to do was build an IF function. So on this worksheet I threw four tasks at it: a total, an average, a percentage difference, a commission IF with absolute references, and a nested IF that returns letter grades.

Here is exactly how it did on each one, including where it struggled.

Start simple: totals and averages

Before the IF statements, I like to warm up with something easy so you can see how Formula Completion behaves. I'm in cell F4, the Total column, and I press the equal sign on the keyboard. That's it — no ribbon button, no clicking the Copilot icon. Formula Completion reads the row and suggests B4+C4+D4+E4, which equals $188,500. That number is correct.

Excel Formula Completion suggesting B4+C4+D4+E4 for the Total column
Press equal in F4 and Formula Completion proposes B4+C4+D4+E4 = $188,500. Notice it added the cells individually instead of using SUM — the result is still right.

I was a little surprised it added the four cells individually instead of using the SUM function, which is what I would have written. It still got the right answer, so no complaints. Next I do the Average column the same way — equal sign in G4 — and it correctly returns =AVERAGE(B4:E4), or $47,125 for that rep. Then I autofill down the column.

Formula Completion returning AVERAGE(B4:E4) in the Average column
For the Average column it gives =AVERAGE(B4:E4) = $47,125, exactly what I'd expect.

A percentage difference between two quarters

This one is a step up. I want the percentage change between Quarter 4 ($53,000) and Quarter 1 ($42,000). The correct approach is to find the difference first, then divide by the earlier quarter.

Formula Completion nails the order of operations: it writes =(E4-B4)/B4, which comes out to 26.2%.

It subtracted Q1 from Q4, then divided by Q1 — precisely the calculation I had in mind.

Formula Completion writing (E4-B4)/B4 for the percentage difference column
The Q4-vs-Q1 percentage change: =(E4-B4)/B4 = 26.2%. It handled the subtract-then-divide order on its own.

The real test: a commission IF with absolute references

Now for the reason I made this worksheet. Look at the commission rules at the bottom: if a rep's total is $180,000 or more, they earn an 8% commission; under $180,000, they earn 4%. Those two rates and the target live in fixed cells (B13, B14, B15), which means the formula needs absolute references so they don't shift when I autofill down. That's what makes this a genuine IF-function test.

The commission rules block with a $180,000 target, 8% rate, and 4% rate
The commission logic: $180,000 target in B13, the 8% rate in B14, the 4% rate in B15. Those cells have to be locked with absolute references.

I'll be straight with you about how this went, because it's a useful lesson. The first attempt was wrong — it grabbed the wrong cell, and the result was clearly off. Always check your data in Excel; don't just accept the first suggestion. I deleted it and tried again, hoping it would notice I'd rejected the earlier version.

It took me about four passes before it produced what I wanted. That's more tries than it should take, and it's the feedback I'll send back to Microsoft.

When it finally landed, the formula was exactly right: =IF(F4>=$B$13,F4*$B$14,F4*$B$15). F4 (the rep's total) is compared to the absolute reference $B$13. If it's 180,000 or over, multiply the total by the 8% rate in $B$14; otherwise multiply by the 4% rate in $B$15. The dollar signs keep those rate cells locked as the formula fills down the column.

The finished commission IF formula using absolute references in Excel
The working result: =IF(F4>=$B$13,F4*$B$14,F4*$B$15). The $ signs lock B13, B14, and B15 so the commission rates stay put when you autofill.

So Formula Completion can absolutely build an IF statement with absolute references — it just took a few nudges to get there. Given how new the feature is, I'll call this a fair result rather than a perfect one.

If you want a deeper comparison of when to reach for Formula Completion versus the COPILOT() function, I cover that in a separate guide linked at the end.

A nested IF for letter grades — with no lookup table

The last task is the most advanced. I have a list of student final grades and I want a letter grade next to each score. Normally, if my grade bands lived in a proper table, I'd use a VLOOKUP or XLOOKUP. But here there is no table — I simply typed the rules as a plain text note off to the side: A is 90+, B is above 80, C is above 70, D is above 60, and anything below 60 is an F.

I press equal in cell C4 and hope for a nested IF. Formula Completion reads my typed criteria and writes:

=IF(B4>=90,"A",IF(B4>80,"B",IF(B4>70,"C",IF(B4>60,"D","F"))))

A nested IF formula returning letter grades based on typed criteria
Formula Completion builds the full nested IF from a plain-text note — no lookup table required.

What impresses me here is that it built the entire nested IF purely from a sentence I typed in another cell. No table, no lookup — it interpreted my grading scale and translated it into logic.

Test the grade formula at the boundaries

Whenever you build an IF like this, test the edges. I autofill the formula down and start changing scores. An 81 returns a B. An 80 returns a C — and that is technically correct, because I wrote "greater than 80," not "80 or above," so exactly 80 falls into the C band. A 90 returns an A because the first test uses greater-than-or-equal. A 60 is an F, but 61 bumps up to a D.

Testing the grade formula at boundary scores like 80 and 81 in Excel
Checking the boundaries: 80 lands as a C because the rule says greater than 80, not 80-or-above. Always test the edges of an IF.

This is exactly why you test boundaries — the difference between >80 and >=80 is one letter grade for that student. Formula Completion followed my wording faithfully; whether that wording matches your school's policy is on you to check.

Where to find Formula Completion in Excel

With a Copilot license, the Copilot icon sits in the bottom-right corner. You can dock it or move it back onto the ribbon. But for Formula Completion specifically, you do not click that icon at all. You just click a cell and press the equal sign - Formula Completion activates on its own.

The Copilot icon location in the bottom-right corner of Excel
The Copilot icon lives in the bottom-right corner and can be docked or moved to the ribbon — but Formula Completion triggers from the equal sign, not this icon.

My verdict

Formula Completion is now one of my favorite Excel features. It handled the total, average, and percentage difference instantly, wrote a clean nested IF for grades from nothing but a typed sentence, and eventually produced a correct commission IF with absolute references — even if that last one needed a few attempts. For a feature this young, that's a strong showing, and it keeps getting better. If you have a Copilot license, click a cell, press equal, and see what it writes for you.

Excel FORMULA Completion vs COPILOT(): When to Use Each Feature
I use both Formula Completion and the Copilot function in Excel every week. They require a paid Microsoft 365 Copilot license. They solve different problems, and when you combine them, you can move fr
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
Financial Ratios - Formula Completion in Excel using Copilot
Writing formulas in Excel can be time-consuming and challenging, even for experienced users. Selecting the right function, referencing the correct cells, and ensuring proper syntax often slows down wo
Excel - IF Function using AND and OR
One of my favorite functions is the IF function. The IF function allows you to use true and false conditions. For example, if the value in cell B2 is over $5,000, give them a 2% discount. **IF Functi
Formula Completion Files and Copilot Function files
Masterminds Copilot Implementation - June 17, 2026