I get why it's tempting. You're building something with AI and spreadsheets, and you need formulas to calculate, and the thought pops up that your LLM could probably write you a formula evaluator while you grab another cup of coffee. You're not in a rush anyway. You need to open a fresh bag of coffee beans and brew another pot. And honestly (to borrow my agent's favorite word), it could probably pull it off. It could fairly quickly support the formulas you know and as far as you could tell it just works.
Fast forward a few weeks and you're deep into another session with the latest frontier model running at maximum effort, ultracode and all. You've resorted to eating coffee beans straight from the bag, and somehow you and your agent still can't figure out how to calculate your co-worker's spreadsheet the same way Excel does.
Why is that? Well, some of what Excel does is just weird. And unless you've spent years building a spreadsheet engine, you probably have no idea just how weird.
Dates are a good example. Excel thinks the 29th of February 1900 existed. It didn't, 1900 wasn't a leap year, but Lotus 1-2-3 thought it was, Excel copied it so Lotus files would keep working, and our engine copies it too so dates line up. Most people who work with spreadsheets know that one. Fewer know that Excel doesn't fully agree with itself about it. =DAY(60) says that day is the 29th, but ask =EOMONTH(60, 0) for the last day of the same month and you get the 28th.
Then there's the stuff an LLM would get wrong without ever noticing, because it isn't written down anywhere. Ask it to write an evaluator in JavaScript and it will reach for the language's built-ins, because why wouldn't it. But in Excel, =ROUNDDOWN(10^15+5, 0) rounds up to 1000000000000010. =LEFT("abcdef", 0.9999998) gives you "a", because almost 1 counts as 1. And =DATEVALUE("Jul 32") is the 1st of July 1932, but type Jul 32 into a cell and you get 2032. Nothing crashes, the numbers just come out wrong, and you don't really know why.
| Formula | Result |
|---|---|
| =ROUNDDOWN(10^15+5, 0) | 1000000000000010 |
| =LEFT("abcdef", 0.9999998) | a |
| =DATEVALUE("Jul 32") | 7/1/1932 |
| =DATE(1900, 2, 29) | 2/29/1900 |
And these aren't beginner mistakes that a better model will grow out of. We recently ran 13 spreadsheet engines against Excel on about 102,000 test cases (here's how). These aren't weekend projects. They're established engines, and even the better-performing alternatives disagree with Excel in roughly 4–10% of cases.
| Engine | Version | Compatibility | Failures per 1,000, log scale | |
|---|---|---|---|---|
| 1 | GRID19.0.0 | 19.0.0 | 99.9% | 1.2 |
| 2 | GridCraft0.18.0 | 0.18.0 | 95.8% | 42 |
| 3 | IronCalc0.9.1 | 0.9.1 | 95.2% | 48 |
| 4 | SpreadsheetGear9.3.85 | 9.3.85 | 94.4% | 56 |
| 5 | Mog1.0.0 | 1.0.0 | 91.5% | 85 |
| 6 | SpreadJS19.2.5 | 19.2.5 | 91.3% | 87 |
| 7 | Univer1.4.0 | 1.4.0 | 91.2% | 88 |
| 8 | Google SheetsWeb, Nov 9, 2026 | Web, Nov 9, 2026 | 90.6% | 94 |
| 9 | LibreOffice26.8.2.2 | 26.8.2.2 | 87.4% | 126 |
| 10 | HyperFormula3.5.0 | 3.5.0 | 82.9% | 171 |
| 11 | Gnumeric1.12.62 | 1.12.62 | 82.8% | 172 |
| 12 | Apache POI6.0.0 | 6.0.0 | 52.9% | 471 |
| 13 | fast-formula-parser1.0.19 | 1.0.19 | 47.0% | 530 |
| 1101001,000 |
How often each engine disagrees with Excel, from the GRID Spreadsheet Benchmark
Your agent will write tests for its engine, and they'll pass. And that's how a vibe-coded spreadsheet engine silently fails. Those tests only check what the agent thinks Excel does, not what Excel actually does. Even the tests written for mature spreadsheet engines don't always agree with Excel. Some differences are intentional, others are bugs or behaviors that have changed over time.
So does it really matter if a spreadsheet engine gets a few edge cases wrong? The problem is that you won't necessarily know when it happens. The numbers will look just as convincing as the correct ones.
That's the problem I built Tafla around. Ask an AI a question with numbers in it and you get an answer you have to take its word for. In Tafla the model only writes the formulas, our engine does the math, and every step is laid out where you can check it and change the numbers. When I tested the same questions without the engine, the final answers were almost always right, but in 20 to 30% of sessions the steps behind them didn't add up. You'd never have known from the answer alone.
So what should you do instead? If you want people's Excel files to behave like they expect them to, the answer is pretty clear by now. Don't vibe code a spreadsheet engine, pick one that has already been checked against Excel and let your agent use it instead of writing one.
To be fair, if you control every formula and it's mostly arithmetic, you're building a calculator, and you can absolutely vibe code a calculator. But the moment you open someone else's workbook you're in Excel's world, with forty-odd years of decisions baked into it.
If you want somewhere to start, our engine is free to evaluate, and your agent can probably wire it up before the next pot finishes brewing. Chasing every quirk Excel has carried for its lifetime is a bit like that planet scene in Interstellar. You go down for what feels like an hour and come back to find years have gone by. Spend that time instead on what makes your product stand out from the rest.
