Apache OpenOffice (AOO) Bugzilla – Issue 115229
Match function error when looking for a string ending with parenthesis
Last modified: 2021-08-26 12:26:12 UTC
If the search criteria string ends with parenthesis, the match function return is wrong: a. if in the lookup array there are an exact match of the search criteria and a similar string (the search criteria without the parenthesis), the match function will return the position of the similar string b. if in the lookup array there is an exact match of the search criteria and no similar string, the match function will return #N/A
Created attachment 72726 [details] file with example of error
#N/A when parenthesis. AOO401m5(Build:9714) - Rev. 1523756 2013-09-16 20:50:21 (Mo, 16 Sep 2013) Win 7
For more than 90% of today's spreadsheet users (who actually try to use Calc as a database program): Call Tools>Options>Calc>Calculation and turn off all the check boxes except "Search criteria = and <> must apply to whole cells". The default settings are completely insane for database-style lookups. None of these settings should exist anyway, unfortunately all this nonsense made it into the ODF standard.
Created attachment 87024 [details] Testing 44 cases, 8 passed The error is not just with parenthesis at the end but anywhere, and also with square brackets
Turn off all those awful default settings.