Apache OpenOffice (AOO) Bugzilla – Issue 123502
MATCH returns last position for empty value
Last modified: 2013-10-20 15:56:44 UTC
MATCH(<empty cell>;A1:A5) returns 5 It used to be #N/A as: VLOOKUP(<empty cell>;A1:A5;1) returns #N/A
It is not clear, what <empty cell> means and it is not clear, what content is in the cells A1:A5. Please attach a document with this error.
=MATCH(A1;{11;12;13;14;15}) returns 5 if A1 is empty, blank, null, nada, nothing. It should return #N/A.
I do not find an explicit rule, what to do in case of a reference to an empty cell. But #N/A makes sense, OpenOffice.org 1 had returned #N/A, and both LibreOffice and Gnumeric return #N/A. So I support to change the behavior to return #N/A for a reference to an empty cell.