In this lesson
A spreadsheet is good at math and bad at explaining. AI is the opposite. Put the two together.
You do not need to memorize formulas. You need to know how to ask, understand and test.
- Ask for a formula and understand what it does
- Clean up messy data with a step-by-step plan
- Validate an analysis before you trust it
The spreadsheet does the math
AI gets long calculations wrong without warning you. The spreadsheet does not. So the split is this: the AI writes the formula and explains it, the spreadsheet calculates, and you check with a case you already know.
The AI cannot see your spreadsheet. So say three things in your request: the program (Excel or Google Sheets), the language and the columns. In English, the separator is a comma, as in =SUMIF(B:B,"Paid",C:C). In Portuguese it is a semicolon, and the same function is called SOMASE. When a formula gives an error the moment you paste it, this is almost always why.
Asking for a formula
Always test. Create 3 rows whose answer you know in your head and see if the formula matches. If it does, use it. If not, go back to the conversation with "I expected 300, I got 120" and ask for the fix.
Inherited a formula nobody understands? Paste it and ask: "explain it part by part, in words for someone who has never used a spreadsheet".
Cleaning up data
A messy customer list is the boring job that AI plans for you. Ask for the plan in order, with one formula per step, always in a helper column. Never on top of the original.
| Problem | What to do |
|---|---|
| Extra spaces | =TRIM(A2) |
| Mixed capital letters | Standardize before you compare |
| Duplicates | =COUNTIF(A:A,A2) in a helper column. Look at the ones that give more than 1. |
| Number stored as text | It shows up aligned to the left. The sum ignores it. Ask how to convert it. |
The plan takes half an hour to follow. By hand, this job would take an afternoon, and the chance of ruining the original would be much higher.
Analyzing a pasted table
Before you paste, take the people out. Delete name, CPF (the Brazilian taxpayer ID number), phone and address. An analysis of totals works without them. Then validate: ask for the sum per group and check two numbers in the spreadsheet itself with a formula. If one does not match, none of the rest counts.
An example: a manager pasted 60 rows of appointments, without names, and the AI said one health plan brought in the most revenue. She asked for the sum per health plan and checked two totals with SUMIF. They matched, and she used the analysis.
What the pros know
The spreadsheet also makes mistakes on its own. In 2016, researchers examined 3,597 papers from 18 scientific journals, published between 2005 and 2015, with gene lists in Excel. About a fifth had gene names swapped for dates or numbers, such as the gene SEPT2 turning into a date (study in Genome Biology). That is why, after importing or cleaning data, a professional checks the type of each column (text, number, date) before adding or comparing, and formats as Text whatever must not turn into a date.
Practice · 10 min
- Write 3 questions you would like your spreadsheet to answer, in everyday language.
- For each one, ask for the formula with the context (program, language, columns), the explanation part by part and a 3-row test.
- Test. Note what matched and what did not. Keep the best one in the spreadsheet, with a comment on the cell.
Summary
- The AI writes and explains the formula. The spreadsheet calculates. You validate.
- Say the program, the language, the separator and the columns.
- Always ask for the formula, the explanation part by part and a 3-row test.
- Clean up in a helper column, never on top of the original.
- Take the people out of the table before you paste, and check two numbers.
Sources
Read on October 30, 2026.
- Ziemann, Eren and El-Osta. Gene name errors are widespread in the scientific literature. Genome Biology (2016).
Lesson quiz
Three situations to apply what you learned.
Isaque Victor free courses