ExcelyourTraining

Home › Blog

The AI said your kettle sales were R0: how to check an AI Excel formula before you trust the total

AI assistants in Excel and in chat tools can write a SUMIF faster than you can find the bracket key. That's useful. It also means a wrong number can reach your manager's inbox looking just as confident as a right one.

This post shows you how to check an AI Excel formula before you use its answer. We'll follow one realistic example where the AI gets the first total right and the second one quietly wrong, then turn what we learn into a short checklist you can use at work.

The first request goes well

Aisha works in sales admin for an appliance wholesaler in Johannesburg. It's month-end, and she has this list:

A B C D
1 Rep Province Product Sales
2 Thandi Gauteng Kettle 1.7L R4 200
3 Pieter Western Cape Toaster R2 800
4 Lindiwe KwaZulu-Natal Kettle 1.7L R3 150
5 Thandi Gauteng Toaster R12 500
6 Sipho Gauteng Kettle 1.2L R1 900
7 Pieter Western Cape Kettle 1.7L R11 400
8 Lindiwe KwaZulu-Natal Toaster R2 600
9 Sipho Gauteng Kettle 1.7L R6 300

She asks the AI assistant: "Total the Gauteng sales." It suggests:

=SUMIF(B2:B9,"Gauteng",D2:D9)

The result is R24 900. She glances down the list: four Gauteng rows, one of them a big R12 500 sale. The number feels right, and it is.

The second request goes wrong

Next she asks: "Now total all kettle sales." The AI suggests:

=SUMIF(C2:C9,"Kettle",D2:D9)

The result is R0.

The formula is perfectly valid. Excel didn't show an error, and the AI didn't flag a problem. But there are five kettle sales on the screen, so R0 can't be right.

The trouble is the word "Kettle". SUMIF looks for cells that say exactly "Kettle", and none do. The products are "Kettle 1.7L" and "Kettle 1.2L". The formula needed the asterisk wildcard, which stands for any characters after the word:

=SUMIF(C2:C9,"Kettle*",D2:D9)

Now the answer is R26 950.

This is a typical AI mistake. The request said "kettles" in plain language, and the AI turned it into an exact match. It understood the task but not the data. The formula looks right at a glance, and that is why it gets through.

Why AI formulas need checking

An AI assistant predicts a likely formula from your words and whatever it can see of your sheet. That works well most of the time, especially for simple, clearly named columns. It can still slip when:

None of this means you shouldn't use AI help. It means you treat the formula like work from a new colleague: probably fine, worth a quick check before it goes in the report.

How to check an AI Excel formula: a two-minute checklist

1. Does the number make sense?

Before anything else, compare the answer with what you can see. R0 for a product that appears five times is a red flag. So is a provincial total bigger than the whole company's sales. You don't need the exact figure in your head, just a rough sense of size.

2. Read the formula out loud

Translate it into a sentence. =SUMIF(C2:C9,"Kettle",D2:D9) reads as "add up column D where column C is exactly Kettle". Saying "exactly" out loud makes the gap obvious. Check that each range points at the column you meant, too.

3. Look hard at the criteria

Most AI formula mistakes in conditional totals sit in the condition. Ask yourself:

4. Count before you sum

Run a quick COUNTIF with the same condition:

=COUNTIF(C2:C9,"Kettle*")

You expect 5 here. If the count matches what you see, the condition is working. If it returns 0, the condition is the problem, not the numbers.

5. Check it a second way

Filter the list (Data > Filter), keep only the kettle rows and select the visible sales. The status bar at the bottom of the Excel window shows their sum. It should match the formula's answer.

6. Make the parts add up to the whole

If you're totalling by group, add the groups together. Kettles (R26 950) plus toasters (R17 900) should equal the full total of R44 850. They do. If they didn't, some rows would be falling through the gaps.

7. Ask the AI to explain itself

If something feels off, ask the assistant to explain the formula step by step, or ask directly: "Will this include Kettle 1.7L and Kettle 1.2L?" The explanation often exposes the gap. You still make the final call, though. The explanation is only a second opinion, not proof.

Why this matters at work

Your manager won't see the formula. They will see "Kettle sales: R0" in the month-end summary, and they will remember who sent it.

Checking AI output is quickly becoming a normal part of using Excel at work, in the same way you'd proofread an email before you send it. Being the person who catches the R0 before it goes out is a real skill, and it's one you can mention in an interview. If you're preparing for an Excel test for a job, SUMIF and COUNTIF are worth practising either way, because they turn up in many assessments.

Practise catching the mistake

ExcelyourTraining has an AI lesson in every module where you check an AI assistant's work. In lesson 21: Conditional totals with AI the AI totals Gauteng sales correctly, then returns 0 for all kettles because it left out the wildcard. Your job is to spot it and fix it.

If the wildcard is new to you, start with lesson 17: COUNTIF, which uses "Kettle*", and lesson 18: SUMIF. Each lesson runs in your browser and is graded as soon as you press Enter. It's free, with no sign-up.