GNOME Bugzilla – Bug 790299
VDB
Last modified: 2017-11-15 00:37:34 UTC
=vdb(100000,20000,10,7,8) evaluates to 971.52 =vdb(100000,20000,10,7.25,7.75) evaluates to 3276.80 These cannot be both correct. (It seems te former is correct and the later should be closer to 971.52/2. See also https://bugs.documentfoundation.org/show_bug.cgi?id=101204
That's some ugly code we're dragging around there. I would take a guess that the problem is that get_vdb's for-loop is not prepared to deal with nLoopStart==nLoopEnd. Unrelatedly, one can surely also cause a hang by supplying sufficiently large start and end values.
https://stackoverflow.com/questions/36322039/actual-ms-excel-formula-for-vdb looks useful.
Created attachment 363549 [details] [review] Tentative patch
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.