1) You can generally count on built-in formulas to be correct, which might have to be recreated in a different language;
2) Excel programs have a highly stylized control flow that's so simple that you don't even really have to explicitly consider it--you just look at the data flow and assume the engine gets the control flow right;
3) Excel has built in visual aids to help you catch off-by-one errors and the like, as well as charting capabilities to help you see if intermediate variables are behaving the way they ought to behave.
And have you ever seen say a Matlab script written by a researcher? Researchers outside CS (and many researchers inside CS) write terrible code, because that's not their job. I'd much rather debug an Excel file written by an economist than a Matlab program.
You can generally count on built-in formulas to be correct, which might have to be recreated in a different language;*
At one point, at least, this wasn't true. At Quickoffice we ran into all sorts of problems implementing functions as our results didn't match what Excel would display. It was fascinating. Ours were mathematically correct, but "Excel correct" is what our users wanted.Most of the errors where inherited from very early versions of Excel. Instead of fixing the formula, they would just replicate the bug to keep everything consistent.
I'm straining to remember the specific examples (there were many), but it's been quite a few years since I was around that stuff.
http://blog.meteorit.co.uk/2007/10/02/excel-2007-bug-shows-w...
one example from the post: 425 * 154.2 was displayed as 100,000 and treated as 100000 for some calculations but not others.
I remember older versions of Excel having similar (but not exactly the same) problems in basic mathematical operations too, but can't remember exactly what they were.
This is wishful thinking at best. Excel numerics have all sorts of undocumented corner cases that attempt to make answers that “look right” instead of a predictable and documented numerics model.
It’s been years since I’ve used Excel, but for example, you can construct values A and B that satisfy any subset of the the following conditions: (1) A == B is true (2) A - B is zero (3) A and B display the same value under any formatting.
These tiny differences usually don’t matter, but eventually someone tries to do an unstable computation, and the tiny differences are blown up into great big differences.
Think about all the accounting and financial decisions that is reviewed in excel. They are vitally important to get correct.
(http://www.eusprig.org/horror-stories.htm)
There are lots of errors in accounting and financial spreadsheets. It's vitally important that traders enter the correct numbers when making trades, but 'fat finger errors' happen pretty often.
Ray Panko has a lot of useful research about spreadsheets. Part of the problems he identifies are difficulties in auditing and finding errors.
[1] (http://www.eusprig.org/)
[2] (http://panko.shidler.hawaii.edu/ssr/) My internet is flaky, and none of the links I find work.