How to check an Excel formula written by AI
AI tools write Excel formulas fast and usually almost right. The mistakes they make don't show as errors, which makes them easy to miss. Check every AI formula against a few cases you can work out by hand.
What does AI typically get wrong?
| Mistake | What to check |
|---|---|
| VLOOKUP without FALSE | the last argument must be FALSE or 0 |
| Wrong range size | all ranges in SUMIFS start and end on the same rows |
Missing $ | the formula still works after you copy it down |
| Edge cases | ">" vs ">=" matches the rule in words |
| Functions your Excel lacks | XLOOKUP, FILTER, LET need recent versions |
| Made-up functions | the function exists (a #NAME? error says it doesn't) |
| Text vs numbers | the data really is numeric |
How do you test the formula?
Pick three rows: a normal case, an edge case (exactly on the limit) and an odd case (blank, zero, missing value). Work out the answer yourself and compare. If one is wrong, the formula is wrong.
How do you ask AI for better formulas?
Give the column letters, the first data row, your Excel version and one example with the expected result. Ask it to explain each argument, then check the explanation against your data.
Why this matters in interviews
Employers know candidates use AI. What they test is whether you can spot when it is wrong. Explaining why a formula fails is worth more than writing it fast.
Practise checking AI formulas
Updated November 2026.