GNOME Bugzilla – Bug 607562
TRIMMEAN: unnecessary Excel incompatibility
Last modified: 2010-01-20 19:48:03 UTC
A1 to A5: 1,2,2,2,5 A7 =TRIMMEAN(A1:A5,1) yields #NUM! in Excel 2007 (and OOo) but yields 2 in Gnumeric. I see what is happening in that we exclude the bottom 50% (rounded down to 2 observations) and the top 50% (rounded down to 2 observations), so are left with the middle observation. If we replace the 1 with a 0.99 both Gnumeric and Excel yield 2.
Hmm... We probably need to first compute the total number of observations to ignore, then split them between left and right. This needs investigation.
No, it's simpler. It's just the "1" case. Error value was wrong too. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.