Apache OpenOffice (AOO) Bugzilla – Issue 33295
error values in MATCH range match to 0
Last modified: 2017-05-20 11:13:55 UTC
If the criteria is 0 then unsorted MATCH find #N/A, other error value or 0 whatever is first. Example: a1 =na() b1 =0 c1 =1 MATCH(0;a1:c1;0) results to 1 Does not apply to other values ... in same example MATCH(1;a1:c1;0) correctly results to 3 and MATCH(5;a1:c1;0) correctly results to #N/A Same problems happen with unsorted ranges for HLOOKUP and VLOOKUP that contain error values. At least string values do not seemingly match with 0, but maybe they match with something else. ;)
Hi Eike, Excel sorts Errorvalues to the beginning of the sorted area just as we do. In MATCH and the LOOKUP functions we set the value of the cell to evaluated by this function to zero while Excel ignores them. We should work in the same way. Frank
Slight correction: Excel sorts error results to the very end, not to the start.
Isnt it so that Excel sorts error values as extreme negative values not as zeroes? Kotk
No, it sorts them even behind strings: -1,0,1,string,boolean,error
Reset assigne to the default "issues@openoffice.apache.org".