AnalystPracticeGuides
DashboardSign up

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.

Watch it solved. ChatGPT writes SUM and INDEX MATCH into the sheet, from 0:58, in our video “How to Use ChatGPT in Excel (Full Beginner Tutorial)”. Pressing play loads the video from YouTube (privacy). Open on YouTube

What does AI typically get wrong?

MistakeWhat to check
VLOOKUP without FALSEthe last argument must be FALSE or 0
Wrong range sizeall 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 lacksXLOOKUP, FILTER, LET need recent versions
Made-up functionsthe function exists (a #NAME? error says it doesn't)
Text vs numbersthe 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.

Try it yourself. Practise this in a real database in your browser, with instant feedback.
Practise checking AI formulas

Updated November 2026.

← All free guides