source/text/scalc/01/04060109.xhp | 1 + 1 file changed, 1 insertion(+)
New commits: commit 20353e3880d977cebd022159ea8ef646f4537bb6 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Fri Aug 29 14:05:33 2025 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Aug 29 14:19:07 2025 +0200 tdf#168146 Restore important detail on MATCH() + after discussion with M. Kaganski. Change-Id: Iaf12f57f7a8782cc1e69cf09b7057dd586da46b0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/190364 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins diff --git a/source/text/scalc/01/04060109.xhp b/source/text/scalc/01/04060109.xhp index 2113b86067..c6fc291445 100644 --- a/source/text/scalc/01/04060109.xhp +++ b/source/text/scalc/01/04060109.xhp @@ -346,6 +346,7 @@ <emph>Search</emph> is the value which is to be searched for in the single-row or single-column array.</paragraph> <paragraph id="par_id3159167" role="paragraph"><emph>LookupArray</emph> is the reference searched. A lookup array can be a single row or column, or part of a single row or column.</paragraph> <paragraph id="par_id3147239" role="paragraph"><emph>Type</emph> may take the values 1, 0, or -1. If Type = 1 or if this optional parameter is missing, it is assumed that the first column of the search array is sorted in ascending order. If Type = -1 it is assumed that the column in sorted in descending order. This corresponds to the same function in Microsoft Excel.</paragraph> + <paragraph id="par_id3147528" role="paragraph">If Type = 1 or the third parameter is missing, the index of the last value that is smaller or equal to the search criterion is returned. For Type = -1, the index of the last value that is larger or equal is returned.</paragraph> <note id="par_id3147528">Unpredictable results are expected if <emph>Type</emph> takes values -1 or +1 and the <emph>LookupArray</emph> is not sorted.</note> <paragraph id="par_id3154265" role="paragraph">If Type = 0, only exact matches are found. If the search criterion is found more than once, the function returns the index of the first matching value. Only if Type = 0 can you search for regular expressions (if enabled in calculation options) or wildcards (if enabled in calculation options).</paragraph> <embed href="text/shared/00/00000001.xhp#regex"/>