GNOME Bugzilla – Bug 485842
Type error in reference not caught
Last modified: 2018-05-22 13:23:38 UTC
Please describe the problem: Gnumeric isn't generating an error message for formula with a type problem, resulting in misleading results. Steps to reproduce: Put 1 in A1 Put 2 in B1 Put =address(1,2) in A3 Put =count(A1:$B$1) in A4 Put =count(A1:address(1,2)) in A5 Actual results: The formula in A5 is accepted without an error. Expected results: An error message indicating a type problem with the expression in A5 Does this happen every time? Yes Other information: Originally reported as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446021
Excel refuses =count(A1:address(1,2)) at parse time.
Note, that with sum instead of count we do get an error. Count ignores errors. This problem is that we do not distinguish between errors inside ranges and errors in the constructed range.
I don't see any real problem here. COUNT ignores errors and it ignores errors inside ranges. COUNT(NA()) should surely be 0, so we can't trigger an error on having a direct error and we clearly don't want to trigger an error on errors in the range. It would be nice to know what Excel is doing. OOo has the same behaviour as we do,
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnumeric/issues/84.