GNOME Bugzilla – Bug 782656
interpolation: interpolating at a blank or NaN point should not return #VALUE!
Last modified: 2018-05-22 14:28:42 UTC
Steps to reproduce - A1=1, A2=2, B1=1, B2=2 - D1=interpolation(A1:A2,B1:B2,C1) => #VALUE! - if you put C1=NaN, still #VALUE! This is problematic, since if you want to re-use a range encompassing D1 in a formula, it will always return #VALUE!. I would prefer a Blank or a NaN value.
How are you entering NaN?
I am just entering the string "NaN". Is this correct?
We typically do not interpret strings that way. I thought that you might be using #NA! I could see that if C1 is the error value #NA! we might want to return #NA!. But we really should not act on string content (While NaN has a language independent meaning that would not be obvious to most users.) Note that you could simulate your desired behaviour by using: D1=iferror(interpolation(A1:A2,B1:B2,C1),"NaN")
-- 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/318.