← All posts

AI can now edit your stock spreadsheet. Will it fix it or break it?

AI can now edit a stock spreadsheet directly: Claude in Google Sheets, Gemini in Sheets and Copilot in Excel all write formulas, build pivot tables and change cells. None can fix wrong stock numbers, because those errors start on the shelf, in movements nobody keyed or keyed in the wrong unit. Fix the sheet first: one owner, one base unit per item, a dated movement log. Test AI edits on a copy, and make the AI ask before each change.

Illustration: a row of three tiles joined in order, a spreadsheet, then sparkles for AI, then a clipboard with a tick, with a clipboard with a tick highlighted in olive.

Can AI fix an inventory spreadsheet?

Say the stock sheet shows forty cases of an item in the stock room, and the shelf has thirty-one. On 6 October 2026, Anthropic put Claude inside Google Sheets, in public beta, as a sidebar on every paid Claude plan, so the person staring at that gap can now ask it to find the problem and fix it. Gemini offers a similar sidebar in Sheets on some Google Workspace plans, and Copilot does the same in Excel.

AI can fix the spreadsheet's formulas. It cannot fix a balance that is wrong because of what happened on the shelf. Nine missing cases are a record problem: a transfer to another branch nobody keyed, samples handed out, a damaged box thrown away without a note, a delivery of ten pieces keyed as ten cases. The AI reads only what somebody typed, so it will total those mistakes accurately, lay them out in a tidy pivot table, and give no sign that anything is off.

I have argued on this blog that a process should be fixed and written down before it is automated, because automating a broken process makes it faster, not better. AI inside the spreadsheet is the sharpest case of that so far. It changes cells at the speed you can type a request, on a record that may already be wrong. Why your stock count never matches the spreadsheet covers where the wrong numbers come from.

What can Claude, Gemini and Copilot actually do inside a spreadsheet?

All three can read a sheet, write and fix formulas, build pivot tables and charts, and change cells directly. They differ in which plans include them and in how they ask before changing something. The details below come from each vendor's own help pages, checked on 8 October 2026. These features change often, so check the page for your own plan before relying on any of it.

Claude in Google Sheets

Anthropic's announcement says Claude can write formulas, build pivot tables and native Sheets charts, and add new tabs, and can pull a range into Python and write the results back into the sheet. It is in public beta on all paid Claude plans. The help page lists Pro, Max, Team and Enterprise, and notes that a Google Workspace admin may have to allow the add-on before anyone can install it.

It works only on the file it is opened in. Its edits happen as you: Google records them under your name, in the file's version history, like any edit you make yourself. There are two modes, Ask before edits, which is the default, and Accept all edits.

Gemini in Google Sheets

Google's help page for Gemini in Sheets lists creating formulas and pivot tables, applying filters and conditional formatting, find and replace, filling a range, and inserting or deleting rows and columns. For a change to the sheet, Gemini shows an Action preview card with the proposed action and waits for you to click Apply. Undo stays available until you make further changes.

Google's comparison of Gemini features by plan lists the Sheets features for Business Standard and Business Plus, and for Enterprise Standard and Enterprise Plus. Business Starter is not on the Sheets list. Google also offers an AI function that writes generated text into cells, and its help page says plainly that you cannot undo or redo the function, only regenerate it.

Copilot in Excel

Microsoft's getting started page says Copilot can add, rename and delete worksheets, insert and modify cell values and ranges, apply formulas across multiple sheets, and build charts and PivotTables. It has three modes: edit, plan and chat. It opens in edit mode by default, and in edit mode it changes the workbook directly.

For a business, Microsoft's FAQ says Copilot in Excel requires a commercial Microsoft Copilot subscription or a Copilot Chat-eligible Microsoft 365 or Office 365 business subscription. The label under your name when you sign in to Microsoft 365 tells you which you have. Microsoft's license page explains them: Copilot Chat (Basic) means no Copilot in Excel, M365 Copilot (Basic) means standard access, and M365 Copilot (Premium) means the paid add-on with priority access.

Why does AI make a messy stock sheet worse instead of better?

Because it acts on whatever the sheet says, at the speed of a typed request. A person correcting a stock sheet by hand slows down at the odd row and goes to ask someone. An AI given the same sheet treats every row as true, applies the change to all of them, and reports that it is done.

Microsoft's FAQ says Copilot "can sometimes make mistakes, misinterpret information, or produce inaccurate results" and tells users to avoid it for decisions in sensitive areas such as finance. Google's AI function page says Gemini features may suggest inaccurate or inappropriate information. Anthropic's help page tells users to review Claude's proposed actions before approving them. On a stock sheet, the mistakes tend to arrive in four shapes.

Mixed units turn into a confident wrong total

If one column holds quantities and nothing on the line says whether it means pieces, boxes or cases, a request to total stock by item adds the three together. The pivot table looks finished. The number in it is wrong by the size of every case, and nothing on the screen says so.

Overwritten balances leave nothing to reason from

A sheet that holds one balance per item, typed over each day, has no history. Ask the AI why an item is short and it can only guess, because the movements that would explain the gap were never kept. The guess will read well, which is the problem.

One request can touch every row

Find and replace, fill a range, delete the rows where a condition is true: these are ordinary things to ask any of the three tools. On a stock sheet, one loosely worded condition can change hundreds of rows in a single step. If more edits follow before anyone notices, Gemini's Undo is no longer available, and restoring an older version in Google Sheets has a cost of its own, described in the warning further down.

Look-alike items get merged

Ask an AI to clean up item names and it will treat names that look alike as the same item. A box of twelve and a box of twenty-four of the same product look alike. Merge them and every receipt and sale of both now lands on one line, and the balance stops meaning anything.

What should you fix in the stock sheet before an AI touches it?

Three things, all covered elsewhere on this blog, so this is the short version. Give the sheet one owner who approves every change to it. Give every item one base unit, the smallest unit you sell, with the conversion written on each line. Keep a dated movement log, one line per receipt, sale, return, transfer or write-off, and let the balance be the sum of those lines, never a number somebody types over.

Why your stock count never matches the spreadsheet sets out the base unit and the movement log in full. Two smaller changes help with AI in particular.

  • ·Keep entry and calculation on separate tabs. Movements go on one tab that nobody edits after the fact, person or AI. Formulas and summaries go on another. You can then point the AI at the summary tab and tell it the movement tab is read-only.
  • ·Write the sheet's rules down where the AI will read them. Copilot in Excel follows a visible worksheet named .Rules, one rule per cell in column A, according to Microsoft's page on Copilot rules. With Claude or Gemini, paste the rules at the top of each request. Microsoft notes that rules may behave differently across models and over time, so treat a rule as guidance, never as a lock.

What goes on the rules list for a stock sheet?

Short, specific rules about what must never change, one per cell, which is also Microsoft's advice for its rules sheet. These work as a starting list for any of the three tools.

  • ·Never edit or delete a row on the Movements tab. To correct a line, add a new line with the reason.
  • ·Every quantity is in the item's base unit. A case of twenty-four is keyed as twenty-four pieces.
  • ·Never type a number over a formula.
  • ·Never merge two item codes. List suspected duplicates for a person to decide.
  • ·Ask before changing more than one row.

How do you test an AI edit on a copy first?

Make a copy of the live sheet, write down three numbers you know are right, run the request on the copy, and compare. It takes about ten minutes, and it shows you exactly what the edit did before it reaches the record people work from. Only an edit that passes goes near the live sheet, and then in a mode that asks first.

  1. In the live sheet, name the current version so you can find it again. In Google Sheets, open version history, choose the version, and use More, Name this version.
  2. Make a copy of the file with a name that says it is a test, such as the sheet's name followed by TEST and today's date. Work only in the copy.
  3. Before asking the AI anything, write down three checks: the number of rows on the movement tab, the balance of three items from your last full count, and the total of one column that should not change, such as quantity received this month.
  4. Ask for the change in the copy, in the tool's asking mode: Ask before edits in Claude, plan mode in Copilot, and with Gemini, read the Action preview card before clicking Apply.
  5. Read every approval card before allowing it. If a card would change more rows than you expected, stop and rewrite the request.
  6. Check your three numbers again. If the row count on the movement tab changed, or a known balance moved, the edit reached the record as well as the calculation. Throw the copy away and start again.
  7. Ask the AI to explain what it changed, cell by cell, and compare its answer with version history. Claude's help page suggests asking it to walk through how a total is calculated and flag anything hardcoded.
  8. If everything holds, make the same change in the live sheet in asking mode, or copy the corrected formula across by hand. Then delete the test copy so nobody keys real stock into it by mistake.

Why should the AI ask before each edit on a stock record?

Because a stock sheet is a record other people act on, and every change to it needs a person who looked at it and said yes. A sales clerk promises stock to a customer from it. Somebody reorders from it. The year-end count is reconciled against it. An edit nobody reviewed becomes a fact by the next morning.

The tools start from different defaults. Claude opens in Ask before edits, where each change appears as an approval card and Claude waits for you to click Allow. Its Accept all edits mode makes ordinary content edits without stopping. It still pauses for links, web images and anyone's access to the file, but a changed quantity is an ordinary content edit. Copilot in Excel opens in edit mode, and Microsoft describes plan mode as the one that lets you review and confirm the approach before Copilot starts. Gemini shows its Action preview card and waits for Apply.

There is a second reason. In Google Sheets, an AI edit is recorded as yours. Anthropic's help page says Google records Claude's edits under your name, and Google's AI function page says the same of the function's output. In version history, an AI edit you allowed looks like an edit you typed. If nobody reviewed it at the time, nobody can tell the two apart later. Microsoft adds that once Copilot's changes are saved, anyone with access to the file can see them, including people editing it at the same moment.

So the rule for a live stock sheet is short. One owner, asking mode, every card read before it is allowed. Keep the faster modes for test copies and for sheets nobody else depends on.

What can AI safely do with a stock sheet today?

A great deal, as long as the request asks it to look rather than change. Explaining, checking and summarizing are where a sidebar earns its keep on a stock sheet, because a wrong answer costs you a few minutes of reading rather than a wrong balance.

  • ·Explain a formula nobody in the office understands, step by step, and flag any number typed over a formula.
  • ·List item names that look like duplicates, with their row numbers, for a person to decide on. Do not let it merge them.
  • ·Find lines where the unit is missing or does not match the item's base unit.
  • ·Highlight negative balances, and items whose balance has not moved in three months.
  • ·Build a summary or pivot table on a new tab, leaving the movement tab untouched.
  • ·Compare the count sheet with the book balance and list every difference, largest first.
  • ·Draft the sheet for the next cycle count, grouped by location.

Which mode keeps the AI looking rather than changing?

In Copilot, chat mode is built for this: Microsoft says it can analyze workbook data and provide insights without making changes to the workbook. In Claude, a request phrased as a question gets an answer without an edit, and the help page gives examples such as asking what changed between two tabs. With Gemini, ask for the analysis in the side panel, then decide yourself whether to insert anything.

What can the AI not know that only a count can tell you?

Anything that happened to the goods and never reached the sheet. The AI reads cells. It cannot see the shelf, so it cannot know about a box damaged in the stock room and thrown out, stock moved to another location without a transfer line, a delivery still unopened by the door, samples handed out, or a supplier that changed its case size while the item code stayed the same. Only a physical count tells you what is actually there.

That limit sets the order of the work. Count first, with movement frozen, to get a balance you trust. Key each difference as a count adjustment with a reason, so the movement tab explains the gap instead of hiding it. Then ask the AI to look for patterns in the differences: which items, which locations and which reasons keep coming back. The AI can help with the comparison and the patterns. It cannot do the count.

Be careful with one request in particular. Asked to fix a negative balance, an AI has two ways to do it, and both are wrong: type a number over the balance, or add a movement that cancels it. A negative balance means the sheet is missing a movement or holds one in the wrong unit: a receipt never keyed, or a sale keyed in cases that was really pieces. Find the paper behind it, then key the real movement with its real date. Why your stock count never matches the spreadsheet has a one-afternoon method for finding which cause is yours.

When does AI in the spreadsheet mean you need a system instead?

When the AI keeps running into the same wall. If two people need to change the sheet at once, if there is a copy per branch, or if you need to know who changed a number and version history can only show whoever allowed the AI's edit, the sheet has reached a breakpoint that no sidebar fixes. When a spreadsheet stops being enough lists the five breakpoints and what to do at each.

Systems and automation are a sequence, not a choice between them. Fix the record and write the rules down, then let AI and automation take the repetitive part. If you are deciding whether to pay for a seat, What to do before you buy any AI tool has the checklist. Getting more from the tools you already pay for covers checking what your current plan includes first.

Common questions

Can AI fix wrong stock balances in a spreadsheet?

No. It can find where the sheet disagrees with itself, such as negative balances, missing units and look-alike item names, and it can fix formulas. If the formulas are right and a balance is still wrong, a movement was never recorded or was recorded in the wrong unit, and only a physical count and the paper behind each movement can show which.

Is Gemini in Google Sheets included in Business Starter?

As of 8 October 2026, Google's comparison of Gemini features by plan lists the Sheets features (the AI function, Enhanced Smart Fill, and generating insights and analysis) for Business Standard, Business Plus, Enterprise Standard and Enterprise Plus, and not for Business Starter. Google changes these lists, so check the page for your own plan.

Does Copilot in Excel come with a Microsoft 365 business plan?

It depends on the plan. Microsoft says Copilot in Excel needs a commercial Microsoft Copilot subscription or a Copilot Chat-eligible Microsoft 365 or Office 365 business subscription. Sign in to Microsoft 365 and read the label under your name: Copilot Chat (Basic) means no Copilot in Excel, and M365 Copilot (Basic) means standard access.

How do you undo something the AI changed in a spreadsheet?

In Claude, use Undo or restore an earlier version from version history. In Gemini, Undo works until you make further changes, and the AI function cannot be undone at all. In Copilot, undo the changes or view prior versions. In Google Sheets, restoring a version clears the cell edit history from before the restore, so make a copy first.

Which of the three is best for a stock sheet?

The one already included in the plan you pay for, used in its asking mode. The brands overlap more than they appear to: Microsoft says Copilot in Excel supports Claude models from Anthropic as well as GPT models from OpenAI. A tested copy and a person approving each change matter more than which sidebar you open.

Sources

If this is the problem you're sitting with, show us the task and we'll audit one workflow for free.

Show us the task

One email, now and then

Where the hours actually go

Every new post, and nothing else. No pitch, no schedule to keep up with, one click to leave.