Plain AIPractical AI for people with real work to do

Getting AI to do spreadsheet work that checks out

Spreadsheets are where AI errors cost the most and are caught the least. Ask for formulas, build a verification cell, and never let it write to the live file.

2026-11-05

Describe the shape of the data first

Before asking for a formula, describe the sheet: the columns, what is in each, roughly how many rows, where the header row sits, and whether there are merged cells or blank rows. Most bad formulas come from the model guessing your layout and guessing wrong, and it will not tell you it guessed. A three-line description of the sheet prevents more errors than any clever instruction.

Ask for a formula, not for the answer

If you ask "what is the total", you get a number you cannot audit. Ask for the formula, paste it into a copy, and let the spreadsheet compute it. Now you can see exactly what it did, and the next person who opens the file can see too. A number with no visible derivation is a rumour.

Build a verification cell

Add a second cell that checks the result another way: a pivot table, a manual sum of three rows you can eyeball, a count of matching records, a difference against last month's file. If the two disagree, you have found a bug before it reached a report. This costs two minutes and catches the errors that matter, especially off-by-one ranges and text stored as numbers.

Watch for the classic traps

Text that looks like numbers, leading zeros stripped from IDs, dates stored as strings, merged cells, hidden rows included in a range, and ranges that stop one row short of the data. Ask the model to state its assumptions about each, then verify the ones it flags. An honest model will list them; the ones that matter are where it assumed rather than asked.

Never let it write to the live file directly

Generate the formula or the script, apply it to a copy, compare against the original, then apply to the real file. Automation that edits cells without a checkpoint is how a rounding error becomes a payroll error. The copy is cheap; the correction email to forty people is not.

Keep a small library

The five formulas you use every month — lookups, conditional sums, text cleanup, date differences, deduplication — are worth writing down once with your own column names and a note on what each does. Reusing a known-good formula beats re-prompting, and it makes you faster than the tool does.

When to stop using a spreadsheet

If the file has grown past a few thousand rows, or several people edit it daily, or you are copying data between tabs by hand, the spreadsheet is no longer the right tool. At that point a small script or a proper database is less work than maintaining the formulas, and an AI assistant can help you write that script — but the same rule applies: test on a copy, and check the output against a known total.

A checklist before you send the file

Recompute one total by hand. Check that every formula references the range you think it does. Look for cells that display a number but are stored as text. Confirm that filters and hidden rows do not change what gets summed. Save a dated copy. None of this is AI-specific, which is the point: the tool changes the speed of making the file, not the standard it has to meet.

Ask for the check as well as the formula

When you request a formula, also ask for one cell that would prove the formula wrong if it were incorrect — a count of matched rows, a sum of a small sample, a comparison against a figure you already trust. Models are much better at producing a verification when asked directly than at volunteering one. Two formulas and a check is still less work than doing the whole thing by hand, and it leaves an audit trail in the file.

Fill down, then spot-check the outliers

A formula that is correct in the first row can still break at row 400, where the data changes shape: a blank row, a duplicated key, a different date format. After filling down, sort by the output and read the top and bottom five rows. Errors cluster at the extremes, and looking only at the middle is how they survive. This takes a minute and catches the failures that make a report wrong in a way nobody notices until a client does.

← All posts