How to Test Excel Formulas After an AI Spreadsheet Repair
Edit one order, recalculate the workbook and trace the USD subtotal. Download the Excel files to spot a broken formula or a mixed-currency sum.
To check an AI-repaired Excel formula, change one input, recalculate the workbook, and follow the value into the summary sheet. In our test, adding one unit moved the order from 31 to 43 USD and the USD subtotal from 47 to 59. The separate EUR subtotal stayed at 7. The workbook repaired with DeepSeek V4.1 Flash 1017 passed that edit for a billed $0.00024240. Here’s how to run the same test and locate a wrong total.
An acceptance test you can do in a minute
Set cell B2 to a quantity of 3 and C2 to a unit price of 12. Put a refund of 5 in D2. Ask the agent to repair E2 so it shows net sales. One valid formula is =B2*C2-D2. The result should be 31. Now change B2 to 4 without running the agent again. E2 should recalculate to 43. A hard-coded 31 fails even if the initial screenshot looks perfect. Check the stored formula as well as the displayed value; an Excel reader that only extracts cached values misses half the test.
Extend the workbook with a second sheet that references E2, a blank refund, a zero quantity, and one order billed in another currency. Specify the desired handling for each before starting. Keep currencies in separate subtotals unless the workbook supplies an exchange rate. Open the returned file in your spreadsheet application, recalculate, save and reopen.

Expected values from the acceptance checklist inside the repair kit below. Use them to check the returned workbook after recalculation.
Download the spreadsheet repair kit (ZIP). Give your repair tool starter.xlsx and keep acceptance.txt for review. Before changing the quantity, the repaired summary should show 47 USD and 7 EUR. After the edit it should show 59 USD and 7 EUR. If the order changes but the summary stays at 47 USD, inspect the reference on the Summary sheet.
Why does a repaired formula show the old total after an edit?
In this fixture, follow the value across the sheet boundary. With quantity 4, Orders E2 should show 43, Summary B2 should reference that 43, and Summary B3 should sum the three USD orders to 59. Summary B4 should still show 7 EUR. The first cell that disagrees tells you where to look.
| What you see after changing Orders B2 from 3 to 4 | What to check |
|---|---|
| Orders!E2 still displays 31 | Inspect the formula bar for a hard-coded 31. If it contains the formula, recalculate, save and reopen before reading the cached value. |
| Orders!E2 shows 43 but Summary!B2 stays at 31 | Check that Summary!B2 references Orders!E2. Recalculate after restoring the link. |
| Summary!B2 shows 43 but Summary!B3 stays at 47 | Recalculate and inspect the subtotal formula for a stale value or a missing USD row. The three USD entries should now be 43, 16 and 0. |
| Summary!B3 shows 66 and Summary!B4 still shows 7 | Inspect the end of the USD range. Including Orders!E5 adds the seven-euro order to the USD subtotal while the EUR subtotal continues to look correct. |
Try the mixed-currency error in a workbook (ZIP). In this editor-made example, change Summary!B3 from =SUM(Orders!E2:E5) to =SUM(Orders!E2:E4) and recalculate. USD falls from 66 to 59. EUR stays at 7. The editor deliberately extended the formula by one row for this exercise.
What counts as a passed repair?
Keep an original copy and record which cells the tool was allowed to modify. Open the repaired file, check the stored formula and display value, and change the quantity in the copy. Accept the repair if the expected row and summary recalculate, the EUR total stays separate, and unrelated formulas stay intact. If totals disagree, use the first mismatched cell in the table above to find the cause. Save and reopen after the fix so a later reader gets the recalculated workbook.
What DeepSeek actually returned
In the December 1 pilot, our tool read the starter cells and sent them to DeepSeek through Ofox. DeepSeek returned a formula as text. The tool wrote that single formula into Orders!E2. We recalculated in LibreOffice, saved, reopened and repeated the check with quantity 4. We matched the call to its Ofox Activity record, which showed 280 input tokens, 132 output tokens and $0.00024240.
Download both recalculated workbooks and the matched charge (ZIP). Open returned.xlsx first, change the quantity, then compare your result with edited.xlsx. Both files retain the formulas. For more than one input file, see how to merge workbooks while preserving formulas. If your repair tool cannot reach its model, check model access and endpoint compatibility before accepting any repair.

